{"type": "func", "start": 4296454684, "end": 4296454988, "name": "InfoAlertButton::create", "pseudocode": "// \n// InfoAlertButton::create from 0x10016b21c to 0x10016b34c (304 bytes)\n// \n// 45 xrefs:\n// > SetupOpacityPopup::init @ 0x100022fa8\n// > SetupRandAdvTriggerPopup::init @ 0x10002e7b8\n// > ChallengesPage::init @ 0x1000321d4\n// > SetGroupIDLayer::init @ 0x10003b708\n// > SetupObjectOptionsPopup::init @ 0x10003f4c4\n// > CustomizeObjectLayer::init @ 0x10004d7cc\n// > SetupSmartBlockLayer::init @ 0x10006f548\n// > SetupSmartTemplateLayer::init @ 0x100070810\n// > BrowseSmartTemplateLayer::init @ 0x1000714d8\n// > BrowseSmartKeyLayer::init @ 0x100072b24\n// > CollisionBlockPopup::init @ 0x100084eb0\n// > SetupCountTriggerPopup::init @ 0x1000f3cd4\n// > SetupTriggerPopup::addHelpButton @ 0x10012f014\n// > GJFollowCommandLayer::init @ 0x10013646c\n// > SetupTimeWarpPopup::init @ 0x100147fc4\n// > PurchaseItemPopup::init @ 0x10014e288\n// > ConfigureValuePopup::init @ 0x10014fd0c\n// > ConfigureValuePopup::addInfoAlertButton @ 0x10015061c\n// > GJPFollowCommandLayer::init @ 0x10015ec00\n// > LevelOptionsLayer::setupOptions @ 0x10017d898\n// > SetupCameraOffsetTrigger::init @ 0x10018eeac\n// > GJSpecialColorSelect::init @ 0x1001aefe8\n// > SetupInstantCountPopup::init @ 0x1001bbff8\n// > SetupRandTriggerPopup::init @ 0x1001c9e0c\n// > SetupSequenceTriggerPopup::init @ 0x1001d26a0\n// > ShareCommentLayer::init @ 0x1001d4a10\n// > SetupCollisionTriggerPopup::init @ 0x10022f740\n// > SetupCameraEdgePopup::init @ 0x100239fb8\n// > ShareListLayer::init @ 0x100248964\n// > ShareListLayer::init @ 0x100248b14\n// > SetupTouchTogglePopup::init @ 0x10024b210\n// > LevelLeaderboard::init @ 0x10024ff44\n// > ShareLevelSettingsLayer::init @ 0x100277058\n// > SetupEndPopup::init @ 0x1002ad26c\n// > CreateParticlePopup::init @ 0x1002cb774\n// > SelectFontLayer::init @ 0x1002d1f14\n// > EditTriggersPopup::init @ 0x1002d269c\n// > GJAccountSettingsLayer::init @ 0x1002d61d8\n// > SetupMGTrigger::init @ 0x1002f1b30\n// > SetupShakePopup::init @ 0x1003a9278\n// > SetupCameraModePopup::init @ 0x1003aa5a4\n// > SetupPulsePopup::init @ 0x1003b5b00\n// > GJPathPage::init @ 0x1003b8fc4\n// > SetupAnimationPopup::init @ 0x1003c369c\n// > ColorSelectPopup::init @ 0x10041e088\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nchar *__fastcall InfoAlertButton::create(__int64 a1, __int64 a2, float a3)\n{\n  char *v6; // x19\n  int v7; // w20\n  void *__p[2]; // [xsp+0h] [xbp-70h] BYREF\n  __int64 v10; // [xsp+10h] [xbp-60h]\n  void *__dst[2]; // [xsp+20h] [xbp-50h] BYREF\n  __int64 v12; // [xsp+30h] [xbp-40h]\n\n  v6 = (char *)operator new(0x230u);\n  CCMenuItemSpriteExtra::CCMenuItemSpriteExtra((CCMenuItemSpriteExtra *)v6);\n  *(_QWORD *)v6 = off_10079ED18;\n  *((_QWORD *)v6 + 40) = off_10079F180;\n  *(_OWORD *)(v6 + 504) = 0u;\n  *(_OWORD *)(v6 + 520) = 0u;\n  *(_OWORD *)(v6 + 536) = 0u;\n  *((_DWORD *)v6 + 138) = 1065353216;\n  v6[556] = 0;\n  if ( *(char *)(a1 + 23) < 0 )\n  {\n    sub_1000097D0(__dst, *(void **)a1, *(_QWORD *)(a1 + 8));\n  }\n  else\n  {\n    *(_OWORD *)__dst = *(_OWORD *)a1;\n    v12 = *(_QWORD *)(a1 + 16);\n  }\n  if ( *(char *)(a2 + 23) < 0 )\n  {\n    sub_1000097D0(__p, *(void **)a2, *(_QWORD *)(a2 + 8));\n  }\n  else\n  {\n    *(_OWORD *)__p = *(_OWORD *)a2;\n    v10 = *(_QWORD *)(a2 + 16);\n  }\n  v7 = InfoAlertButton::init(v6, __dst, __p, a3);\n  if ( SHIBYTE(v10) < 0 )\n    operator delete(__p[0]);\n  if ( SHIBYTE(v12) < 0 )\n  {\n    operator delete(__dst[0]);\n    if ( v7 )\n      goto LABEL_11;\nLABEL_13:\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v6 + 16LL))(v6);\n    return nullptr;\n  }\n  if ( !v7 )\n    goto LABEL_13;\nLABEL_11:\n  cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);\n  return v6;\n}", "assembly": "; \n; InfoAlertButton::create from 0x10016b21c to 0x10016b34c (304 bytes)\n; \n; 45 xrefs:\n; > SetupOpacityPopup::init @ 0x100022fa8\n; > SetupRandAdvTriggerPopup::init @ 0x10002e7b8\n; > ChallengesPage::init @ 0x1000321d4\n; > SetGroupIDLayer::init @ 0x10003b708\n; > SetupObjectOptionsPopup::init @ 0x10003f4c4\n; > CustomizeObjectLayer::init @ 0x10004d7cc\n; > SetupSmartBlockLayer::init @ 0x10006f548\n; > SetupSmartTemplateLayer::init @ 0x100070810\n; > BrowseSmartTemplateLayer::init @ 0x1000714d8\n; > BrowseSmartKeyLayer::init @ 0x100072b24\n; > CollisionBlockPopup::init @ 0x100084eb0\n; > SetupCountTriggerPopup::init @ 0x1000f3cd4\n; > SetupTriggerPopup::addHelpButton @ 0x10012f014\n; > GJFollowCommandLayer::init @ 0x10013646c\n; > SetupTimeWarpPopup::init @ 0x100147fc4\n; > PurchaseItemPopup::init @ 0x10014e288\n; > ConfigureValuePopup::init @ 0x10014fd0c\n; > ConfigureValuePopup::addInfoAlertButton @ 0x10015061c\n; > GJPFollowCommandLayer::init @ 0x10015ec00\n; > LevelOptionsLayer::setupOptions @ 0x10017d898\n; > SetupCameraOffsetTrigger::init @ 0x10018eeac\n; > GJSpecialColorSelect::init @ 0x1001aefe8\n; > SetupInstantCountPopup::init @ 0x1001bbff8\n; > SetupRandTriggerPopup::init @ 0x1001c9e0c\n; > SetupSequenceTriggerPopup::init @ 0x1001d26a0\n; > ShareCommentLayer::init @ 0x1001d4a10\n; > SetupCollisionTriggerPopup::init @ 0x10022f740\n; > SetupCameraEdgePopup::init @ 0x100239fb8\n; > ShareListLayer::init @ 0x100248964\n; > ShareListLayer::init @ 0x100248b14\n; > SetupTouchTogglePopup::init @ 0x10024b210\n; > LevelLeaderboard::init @ 0x10024ff44\n; > ShareLevelSettingsLayer::init @ 0x100277058\n; > SetupEndPopup::init @ 0x1002ad26c\n; > CreateParticlePopup::init @ 0x1002cb774\n; > SelectFontLayer::init @ 0x1002d1f14\n; > EditTriggersPopup::init @ 0x1002d269c\n; > GJAccountSettingsLayer::init @ 0x1002d61d8\n; > SetupMGTrigger::init @ 0x1002f1b30\n; > SetupShakePopup::init @ 0x1003a9278\n; > SetupCameraModePopup::init @ 0x1003aa5a4\n; > SetupPulsePopup::init @ 0x1003b5b00\n; > GJPathPage::init @ 0x1003b8fc4\n; > SetupAnimationPopup::init @ 0x1003c369c\n; > ColorSelectPopup::init @ 0x10041e088\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSUB             SP, SP, #0x80                                          ; +0x0, 0x10016b21c\nSTP             D9, D8, [SP,#0x70+var_30]                              ; +0x4, 0x10016b220\nSTP             X22, X21, [SP,#0x70+var_20]                            ; +0x8, 0x10016b224\nSTP             X20, X19, [SP,#0x70+var_10]                            ; +0xc, 0x10016b228\nSTP             X29, X30, [SP,#0x70+var_s0]                            ; +0x10, 0x10016b22c\nADD             X29, SP, #0x70                                         ; +0x14, 0x10016b230\nFMOV            S8, S0                                                 ; +0x18, 0x10016b234\nMOV             X20, X1                                                ; +0x1c, 0x10016b238\nMOV             X21, X0                                                ; +0x20, 0x10016b23c\nMOV             W0, #0x230; __sz                                       ; +0x24, 0x10016b240\nBL              __Znwm; operator new(ulong)                            ; +0x28, 0x10016b244\nMOV             X19, X0                                                ; +0x2c, 0x10016b248\nBL              CCMenuItemSpriteExtra__CCMenuItemSpriteExtra           ; +0x30, 0x10016b24c\nADRL            X8, off_10079ED18                                      ; +0x34, 0x10016b250\nSTR             X8, [X19]                                              ; +0x3c, 0x10016b258\nADD             X8, X8, #(off_10079F180 - 0x10079ED18)                 ; +0x40, 0x10016b25c\nSTR             X8, [X19,#0x140]                                       ; +0x44, 0x10016b260\nADD             X8, X19, #0x1F8                                        ; +0x48, 0x10016b264\nMOVI            V0.16B, #0                                             ; +0x4c, 0x10016b268\nSTP             Q0, Q0, [X8]                                           ; +0x50, 0x10016b26c\nSTR             Q0, [X8,#0x20]                                         ; +0x54, 0x10016b270\nMOV             W8, #0x3F800000                                        ; +0x58, 0x10016b274\nSTR             W8, [X19,#0x228]                                       ; +0x5c, 0x10016b278\nSTRB            WZR, [X19,#0x22C]                                      ; +0x60, 0x10016b27c\nLDRSB           W8, [X21,#0x17]                                        ; +0x64, 0x10016b280\nTBNZ            W8, #0x1F, loc_10016B29C                               ; +0x68, 0x10016b284\nLDR             Q0, [X21]                                              ; +0x6c, 0x10016b288\nSTR             Q0, [SP,#0x70+__dst]                                   ; +0x70, 0x10016b28c\nLDR             X8, [X21,#0x10]                                        ; +0x74, 0x10016b290\nSTR             X8, [SP,#0x70+var_40]                                  ; +0x78, 0x10016b294\nB               loc_10016B2A8                                          ; +0x7c, 0x10016b298\nLDP             X1, X2, [X21]; __src                                   ; +0x80, 0x10016b29c\nADD             X0, SP, #0x70+__dst; __dst                             ; +0x84, 0x10016b2a0\nBL              sub_1000097D0                                          ; +0x88, 0x10016b2a4\nLDRSB           W8, [X20,#0x17]                                        ; +0x8c, 0x10016b2a8\nTBNZ            W8, #0x1F, loc_10016B2C4                               ; +0x90, 0x10016b2ac\nLDR             Q0, [X20]                                              ; +0x94, 0x10016b2b0\nSTR             Q0, [SP,#0x70+__p]                                     ; +0x98, 0x10016b2b4\nLDR             X8, [X20,#0x10]                                        ; +0x9c, 0x10016b2b8\nSTR             X8, [SP,#0x70+var_60]                                  ; +0xa0, 0x10016b2bc\nB               loc_10016B2D0                                          ; +0xa4, 0x10016b2c0\nLDP             X1, X2, [X20]; __src                                   ; +0xa8, 0x10016b2c4\nMOV             X0, SP; __dst                                          ; +0xac, 0x10016b2c8\nBL              sub_1000097D0                                          ; +0xb0, 0x10016b2cc\nADD             X1, SP, #0x70+__dst                                    ; +0xb4, 0x10016b2d0\nMOV             X2, SP                                                 ; +0xb8, 0x10016b2d4\nMOV             X0, X19                                                ; +0xbc, 0x10016b2d8\nFMOV            S0, S8                                                 ; +0xc0, 0x10016b2dc\nBL              InfoAlertButton__init                                  ; +0xc4, 0x10016b2e0\nMOV             X20, X0                                                ; +0xc8, 0x10016b2e4\nLDRSB           W8, [SP,#0x70+var_60+7]                                ; +0xcc, 0x10016b2e8\nTBZ             W8, #0x1F, loc_10016B2F8                               ; +0xd0, 0x10016b2ec\nLDR             X0, [SP,#0x70+__p]; __p                                ; +0xd4, 0x10016b2f0\nBL              __ZdlPv; operator delete(void *)                       ; +0xd8, 0x10016b2f4\nLDRSB           W8, [SP,#0x70+var_40+7]                                ; +0xdc, 0x10016b2f8\nTBNZ            W8, #0x1F, loc_10016B310                               ; +0xe0, 0x10016b2fc\nCBZ             W20, loc_10016B31C                                     ; +0xe4, 0x10016b300\nMOV             X0, X19                                                ; +0xe8, 0x10016b304\nBL              cocos2d__CCObject__autorelease                         ; +0xec, 0x10016b308\nB               loc_10016B330                                          ; +0xf0, 0x10016b30c\nLDR             X0, [SP,#0x70+__dst]; __p                              ; +0xf4, 0x10016b310\nBL              __ZdlPv; operator delete(void *)                       ; +0xf8, 0x10016b314\nCBNZ            W20, loc_10016B304                                     ; +0xfc, 0x10016b318\nLDR             X8, [X19]                                              ; +0x100, 0x10016b31c\nLDR             X8, [X8,#0x10]                                         ; +0x104, 0x10016b320\nMOV             X0, X19                                                ; +0x108, 0x10016b324\nBLR             X8                                                     ; +0x10c, 0x10016b328\nMOV             X19, #0                                                ; +0x110, 0x10016b32c\nMOV             X0, X19                                                ; +0x114, 0x10016b330\nLDP             X29, X30, [SP,#0x70+var_s0]                            ; +0x118, 0x10016b334\nLDP             X20, X19, [SP,#0x70+var_10]                            ; +0x11c, 0x10016b338\nLDP             X22, X21, [SP,#0x70+var_20]                            ; +0x120, 0x10016b33c\nLDP             D9, D8, [SP,#0x70+var_30]                              ; +0x124, 0x10016b340\nADD             SP, SP, #0x80                                          ; +0x128, 0x10016b344\nRET                                                                    ; +0x12c, 0x10016b348", "xrefs": ["SetupOpacityPopup::init @ 0x100022fa8", "SetupRandAdvTriggerPopup::init @ 0x10002e7b8", "ChallengesPage::init @ 0x1000321d4", "SetGroupIDLayer::init @ 0x10003b708", "SetupObjectOptionsPopup::init @ 0x10003f4c4", "CustomizeObjectLayer::init @ 0x10004d7cc", "SetupSmartBlockLayer::init @ 0x10006f548", "SetupSmartTemplateLayer::init @ 0x100070810", "BrowseSmartTemplateLayer::init @ 0x1000714d8", "BrowseSmartKeyLayer::init @ 0x100072b24", "CollisionBlockPopup::init @ 0x100084eb0", "SetupCountTriggerPopup::init @ 0x1000f3cd4", "SetupTriggerPopup::addHelpButton @ 0x10012f014", "GJFollowCommandLayer::init @ 0x10013646c", "SetupTimeWarpPopup::init @ 0x100147fc4", "PurchaseItemPopup::init @ 0x10014e288", "ConfigureValuePopup::init @ 0x10014fd0c", "ConfigureValuePopup::addInfoAlertButton @ 0x10015061c", "GJPFollowCommandLayer::init @ 0x10015ec00", "LevelOptionsLayer::setupOptions @ 0x10017d898", "SetupCameraOffsetTrigger::init @ 0x10018eeac", "GJSpecialColorSelect::init @ 0x1001aefe8", "SetupInstantCountPopup::init @ 0x1001bbff8", "SetupRandTriggerPopup::init @ 0x1001c9e0c", "SetupSequenceTriggerPopup::init @ 0x1001d26a0", "ShareCommentLayer::init @ 0x1001d4a10", "SetupCollisionTriggerPopup::init @ 0x10022f740", "SetupCameraEdgePopup::init @ 0x100239fb8", "ShareListLayer::init @ 0x100248964", "ShareListLayer::init @ 0x100248b14", "SetupTouchTogglePopup::init @ 0x10024b210", "LevelLeaderboard::init @ 0x10024ff44", "ShareLevelSettingsLayer::init @ 0x100277058", "SetupEndPopup::init @ 0x1002ad26c", "CreateParticlePopup::init @ 0x1002cb774", "SelectFontLayer::init @ 0x1002d1f14", "EditTriggersPopup::init @ 0x1002d269c", "GJAccountSettingsLayer::init @ 0x1002d61d8", "SetupMGTrigger::init @ 0x1002f1b30", "SetupShakePopup::init @ 0x1003a9278", "SetupCameraModePopup::init @ 0x1003aa5a4", "SetupPulsePopup::init @ 0x1003b5b00", "GJPathPage::init @ 0x1003b8fc4", "SetupAnimationPopup::init @ 0x1003c369c", "ColorSelectPopup::init @ 0x10041e088"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}