{"type": "func", "start": 4300692304, "end": 4300692692, "name": "InfoAlertButton::create", "pseudocode": "// \n// InfoAlertButton::create from 0x100575b50 to 0x100575cd4 (388 bytes)\n// \n// 49 xrefs:\n// > GJRotateCommandLayer::init @ 0x1000018ad\n// > SetupOpacityPopup::init @ 0x100057237\n// > CustomizeObjectLayer::init @ 0x1001f53e4\n// > SetupTriggerPopup::addHelpButton @ 0x100235fae\n// > LevelOptionsLayer::setupOptions @ 0x10027171f\n// > ShareLevelSettingsLayer::init @ 0x1002827a0\n// > CollisionBlockPopup::init @ 0x10028604b\n// > SelectFontLayer::init @ 0x10029a228\n// > EditTriggersPopup::init @ 0x10029abc5\n// > GJAccountSettingsLayer::init @ 0x1002a09a9\n// > SetupTouchTogglePopup::init @ 0x1002b8887\n// > SetupCountTriggerPopup::init @ 0x1002bb704\n// > GJFollowCommandLayer::init @ 0x1002d543f\n// > GJPathPage::init @ 0x1002ff6d5\n// > SetGroupIDLayer::init @ 0x100312de0\n// > SetupObjectOptionsPopup::init @ 0x10031833b\n// > PurchaseItemPopup::init @ 0x100328297\n// > ShareListLayer::init @ 0x1003628ce\n// > ShareListLayer::init @ 0x100362b2d\n// > GJPFollowCommandLayer::init @ 0x100364b36\n// > SetupRandAdvTriggerPopup::init @ 0x10038de5c\n// > SetupCollisionTriggerPopup::init @ 0x1003955e4\n// > ChallengesPage::init @ 0x10039d9db\n// > SetupPulsePopup::init @ 0x1003ad1b9\n// > SetupAnimationPopup::init @ 0x1003d4c21\n// > SetupGravityModPopup::init @ 0x1003d8686\n// > LevelLeaderboard::init @ 0x1003dacd5\n// > CreateParticlePopup::init @ 0x10047042a\n// > SetupCameraModePopup::init @ 0x1004a8f98\n// > SetupCameraRotatePopup::init @ 0x1004bcb62\n// > SetupSequenceTriggerPopup::init @ 0x1004ddaa6\n// > SetupSmartBlockLayer::init @ 0x1004e626e\n// > SetupSmartTemplateLayer::init @ 0x1004e7dc4\n// > BrowseSmartTemplateLayer::init @ 0x1004e8f22\n// > BrowseSmartKeyLayer::init @ 0x1004eacc5\n// > SetupTimeWarpPopup::init @ 0x100502f79\n// > SetupMGTrigger::init @ 0x1005087e2\n// > SetupPortalPopup::init @ 0x10056fad5\n// > SetupCameraEdgePopup::init @ 0x100588277\n// > ShareCommentLayer::init @ 0x1005dff0a\n// > SetupRandTriggerPopup::init @ 0x1005e5537\n// > SetupInstantCountPopup::init @ 0x1005e8e18\n// > ConfigureValuePopup::init @ 0x100624c67\n// > ConfigureValuePopup::addInfoAlertButton @ 0x10062560f\n// > GJSpecialColorSelect::init @ 0x10062631c\n// > SetupCameraOffsetTrigger::init @ 0x10066173e\n// > SetupShakePopup::init @ 0x1006643f8\n// > SetupEndPopup::init @ 0x100668d2a\n// > ColorSelectPopup::init @ 0x100726ea6\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(__int128 *a1, std::string *a2, float a3)\n{\n  char *v3; // rbx\n  __int128 v4; // xmm0\n  cocos2d::CCSprite *v5; // r14\n  bool v6; // r14\n  std::string __str; // [rsp+0h] [rbp-60h] BYREF\n  std::string v9; // [rsp+20h] [rbp-40h] BYREF\n  float v10; // [rsp+44h] [rbp-1Ch]\n\n  v10 = a3;\n  v3 = (char *)operator new(0x230u);\n  CCMenuItemSpriteExtra::CCMenuItemSpriteExtra((CCMenuItemSpriteExtra *)v3);\n  *(_QWORD *)v3 = off_100965400;\n  *((_QWORD *)v3 + 40) = off_100965868;\n  *(_QWORD *)&v4 = 0;\n  *(_OWORD *)(v3 + 504) = 0;\n  *(_OWORD *)(v3 + 520) = 0;\n  *(_OWORD *)(v3 + 536) = 0;\n  *((_DWORD *)v3 + 138) = 1065353216;\n  v3[556] = 0;\n  if ( (*(_BYTE *)a1 & 1) != 0 )\n  {\n    sub_100006B70(&__str, *((const void **)a1 + 2), *((_QWORD *)a1 + 1), 0.0);\n    if ( (*(_BYTE *)&a2->__r_.__value_.__s.0 & 1) != 0 )\n      goto LABEL_3;\n  }\n  else\n  {\n    __str.__r_.__value_.__r.__words[2] = *((_QWORD *)a1 + 2);\n    v4 = *a1;\n    *(_OWORD *)&__str.__r_.__value_.__l.0 = *a1;\n    if ( (*(_BYTE *)&a2->__r_.__value_.__s.0 & 1) != 0 )\n    {\nLABEL_3:\n      sub_100006B70(&v9, a2->__r_.__value_.__l.__data_, a2->__r_.__value_.__l.__size_, *(double *)&v4);\n      goto LABEL_6;\n    }\n  }\n  v9 = *a2;\nLABEL_6:\n  v5 = cocos2d::CCSprite::createWithSpriteFrameName(\"GJ_infoIcon_001.png\");\n  ((void (__fastcall *)(cocos2d::CCSprite *, float))v5->setScale)(v5, v10);\n  v6 = CCMenuItemSpriteExtra::init((CCMenuItemSpriteExtra *)v3, v5, nullptr, nullptr, (cocos2d::SEL_MenuHandler)0);\n  if ( v6 )\n  {\n    CCMenuItemSpriteExtra::setSizeMult((CCMenuItemSpriteExtra *)v3, 1.5);\n    std::string::operator=((std::string *)v3 + 21, &__str);\n    std::string::operator=((std::string *)v3 + 22, &v9);\n  }\n  if ( (*(_BYTE *)&v9.__r_.__value_.__s.0 & 1) == 0 )\n  {\n    if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) == 0 )\n      goto LABEL_10;\nLABEL_13:\n    operator delete(__str.__r_.__value_.__l.__data_);\n    if ( v6 )\n      goto LABEL_11;\nLABEL_14:\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v3 + 16LL))(v3);\n    return nullptr;\n  }\n  operator delete(v9.__r_.__value_.__l.__data_);\n  if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) != 0 )\n    goto LABEL_13;\nLABEL_10:\n  if ( !v6 )\n    goto LABEL_14;\nLABEL_11:\n  cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3);\n  return v3;\n}", "assembly": "; \n; InfoAlertButton::create from 0x100575b50 to 0x100575cd4 (388 bytes)\n; \n; 49 xrefs:\n; > GJRotateCommandLayer::init @ 0x1000018ad\n; > SetupOpacityPopup::init @ 0x100057237\n; > CustomizeObjectLayer::init @ 0x1001f53e4\n; > SetupTriggerPopup::addHelpButton @ 0x100235fae\n; > LevelOptionsLayer::setupOptions @ 0x10027171f\n; > ShareLevelSettingsLayer::init @ 0x1002827a0\n; > CollisionBlockPopup::init @ 0x10028604b\n; > SelectFontLayer::init @ 0x10029a228\n; > EditTriggersPopup::init @ 0x10029abc5\n; > GJAccountSettingsLayer::init @ 0x1002a09a9\n; > SetupTouchTogglePopup::init @ 0x1002b8887\n; > SetupCountTriggerPopup::init @ 0x1002bb704\n; > GJFollowCommandLayer::init @ 0x1002d543f\n; > GJPathPage::init @ 0x1002ff6d5\n; > SetGroupIDLayer::init @ 0x100312de0\n; > SetupObjectOptionsPopup::init @ 0x10031833b\n; > PurchaseItemPopup::init @ 0x100328297\n; > ShareListLayer::init @ 0x1003628ce\n; > ShareListLayer::init @ 0x100362b2d\n; > GJPFollowCommandLayer::init @ 0x100364b36\n; > SetupRandAdvTriggerPopup::init @ 0x10038de5c\n; > SetupCollisionTriggerPopup::init @ 0x1003955e4\n; > ChallengesPage::init @ 0x10039d9db\n; > SetupPulsePopup::init @ 0x1003ad1b9\n; > SetupAnimationPopup::init @ 0x1003d4c21\n; > SetupGravityModPopup::init @ 0x1003d8686\n; > LevelLeaderboard::init @ 0x1003dacd5\n; > CreateParticlePopup::init @ 0x10047042a\n; > SetupCameraModePopup::init @ 0x1004a8f98\n; > SetupCameraRotatePopup::init @ 0x1004bcb62\n; > SetupSequenceTriggerPopup::init @ 0x1004ddaa6\n; > SetupSmartBlockLayer::init @ 0x1004e626e\n; > SetupSmartTemplateLayer::init @ 0x1004e7dc4\n; > BrowseSmartTemplateLayer::init @ 0x1004e8f22\n; > BrowseSmartKeyLayer::init @ 0x1004eacc5\n; > SetupTimeWarpPopup::init @ 0x100502f79\n; > SetupMGTrigger::init @ 0x1005087e2\n; > SetupPortalPopup::init @ 0x10056fad5\n; > SetupCameraEdgePopup::init @ 0x100588277\n; > ShareCommentLayer::init @ 0x1005dff0a\n; > SetupRandTriggerPopup::init @ 0x1005e5537\n; > SetupInstantCountPopup::init @ 0x1005e8e18\n; > ConfigureValuePopup::init @ 0x100624c67\n; > ConfigureValuePopup::addInfoAlertButton @ 0x10062560f\n; > GJSpecialColorSelect::init @ 0x10062631c\n; > SetupCameraOffsetTrigger::init @ 0x10066173e\n; > SetupShakePopup::init @ 0x1006643f8\n; > SetupEndPopup::init @ 0x100668d2a\n; > ColorSelectPopup::init @ 0x100726ea6\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\npush    rbp                                                            ; +0x0, 0x100575b50\nmov     rbp, rsp                                                       ; +0x1, 0x100575b51\npush    r15                                                            ; +0x4, 0x100575b54\npush    r14                                                            ; +0x6, 0x100575b56\npush    rbx                                                            ; +0x8, 0x100575b58\nsub     rsp, 48h                                                       ; +0x9, 0x100575b59\nmovss   [rbp+var_1C], xmm0                                             ; +0xd, 0x100575b5d\nmov     r14, rsi                                                       ; +0x12, 0x100575b62\nmov     r15, rdi                                                       ; +0x15, 0x100575b65\nmov     edi, 230h; __sz                                                ; +0x18, 0x100575b68\ncall    __Znwm; operator new(ulong)                                    ; +0x1d, 0x100575b6d\nmov     rbx, rax                                                       ; +0x22, 0x100575b72\nmov     rdi, rax                                                       ; +0x25, 0x100575b75\ncall    CCMenuItemSpriteExtra__CCMenuItemSpriteExtra                   ; +0x28, 0x100575b78\nlea     rax, off_100965400                                             ; +0x2d, 0x100575b7d\nmov     [rbx], rax                                                     ; +0x34, 0x100575b84\nlea     rax, off_100965868                                             ; +0x37, 0x100575b87\nmov     [rbx+140h], rax                                                ; +0x3e, 0x100575b8e\nxorps   xmm0, xmm0                                                     ; +0x45, 0x100575b95\nmovups  xmmword ptr [rbx+1F8h], xmm0                                   ; +0x48, 0x100575b98\nmovups  xmmword ptr [rbx+208h], xmm0                                   ; +0x4f, 0x100575b9f\nmovups  xmmword ptr [rbx+218h], xmm0                                   ; +0x56, 0x100575ba6\nmov     dword ptr [rbx+228h], 3F800000h                                ; +0x5d, 0x100575bad\nmov     byte ptr [rbx+22Ch], 0                                         ; +0x67, 0x100575bb7\ntest    byte ptr [r15], 1                                              ; +0x6e, 0x100575bbe\njnz     short loc_100575BED                                            ; +0x72, 0x100575bc2\nmov     rax, [r15+10h]                                                 ; +0x74, 0x100575bc4\nmov     qword ptr [rbp+__str.__r_.__value_+10h], rax                   ; +0x78, 0x100575bc8\nmovups  xmm0, xmmword ptr [r15]                                        ; +0x7c, 0x100575bcc\nmovaps  xmmword ptr [rbp+__str.__r_.__value_], xmm0                    ; +0x80, 0x100575bd0\ntest    byte ptr [r14], 1                                              ; +0x84, 0x100575bd4\njz      short loc_100575C04                                            ; +0x88, 0x100575bd8\nmov     rdx, [r14+8]                                                   ; +0x8a, 0x100575bda\nmov     rsi, [r14+10h]                                                 ; +0x8e, 0x100575bde\nlea     rdi, [rbp+var_40]                                              ; +0x92, 0x100575be2\ncall    sub_100006B70                                                  ; +0x96, 0x100575be6\njmp     short loc_100575C14                                            ; +0x9b, 0x100575beb\nmov     rdx, [r15+8]                                                   ; +0x9d, 0x100575bed\nmov     rsi, [r15+10h]                                                 ; +0xa1, 0x100575bf1\nlea     rdi, [rbp+__str]                                               ; +0xa5, 0x100575bf5\ncall    sub_100006B70                                                  ; +0xa9, 0x100575bf9\ntest    byte ptr [r14], 1                                              ; +0xae, 0x100575bfe\njnz     short loc_100575BDA                                            ; +0xb2, 0x100575c02\nmov     rax, [r14+10h]                                                 ; +0xb4, 0x100575c04\nmov     qword ptr [rbp+var_40.__r_.__value_+10h], rax                  ; +0xb8, 0x100575c08\nmovups  xmm0, xmmword ptr [r14]                                        ; +0xbc, 0x100575c0c\nmovaps  xmmword ptr [rbp+var_40.__r_.__value_], xmm0                   ; +0xc0, 0x100575c10\nlea     rdi, aGjInfoicon001P; \"GJ_infoIcon_001.png\"                    ; +0xc4, 0x100575c14\ncall    cocos2d__CCSprite__createWithSpriteFrameName                   ; +0xcb, 0x100575c1b\nmov     r14, rax                                                       ; +0xd0, 0x100575c20\nmov     rax, [rax]                                                     ; +0xd3, 0x100575c23\nmov     rdi, r14                                                       ; +0xd6, 0x100575c26\nmovss   xmm0, [rbp+var_1C]                                             ; +0xd9, 0x100575c29\ncall    qword ptr [rax+0A0h]                                           ; +0xde, 0x100575c2e\nmov     rdi, rbx                                                       ; +0xe4, 0x100575c34\nmov     rsi, r14                                                       ; +0xe7, 0x100575c37\nxor     edx, edx                                                       ; +0xea, 0x100575c3a\nxor     ecx, ecx                                                       ; +0xec, 0x100575c3c\nxor     r8d, r8d                                                       ; +0xee, 0x100575c3e\nxor     r9d, r9d                                                       ; +0xf1, 0x100575c41\ncall    CCMenuItemSpriteExtra__init                                    ; +0xf4, 0x100575c44\nmov     r14d, eax                                                      ; +0xf9, 0x100575c49\ntest    al, al                                                         ; +0xfc, 0x100575c4c\njz      short loc_100575C83                                            ; +0xfe, 0x100575c4e\nmovss   xmm0, cs:dword_100815000                                       ; +0x100, 0x100575c50\nmov     rdi, rbx                                                       ; +0x108, 0x100575c58\ncall    CCMenuItemSpriteExtra__setSizeMult                             ; +0x10b, 0x100575c5b\nlea     rdi, [rbx+1F8h]; this                                          ; +0x110, 0x100575c60\nlea     rsi, [rbp+__str]; __str                                        ; +0x117, 0x100575c67\ncall    __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_; std::string::operator=(std::string const&) ; +0x11b, 0x100575c6b\nmov     rdi, rbx                                                       ; +0x120, 0x100575c70\nadd     rdi, 210h; this                                                ; +0x123, 0x100575c73\nlea     rsi, [rbp+var_40]; __str                                       ; +0x12a, 0x100575c7a\ncall    __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_; std::string::operator=(std::string const&) ; +0x12e, 0x100575c7e\ntest    byte ptr [rbp+var_40.__r_.__value_], 1                         ; +0x133, 0x100575c83\njnz     short loc_100575C9E                                            ; +0x137, 0x100575c87\ntest    byte ptr [rbp+__str.__r_.__value_], 1                          ; +0x139, 0x100575c89\njnz     short loc_100575CAD                                            ; +0x13d, 0x100575c8d\ntest    r14b, r14b                                                     ; +0x13f, 0x100575c8f\njz      short loc_100575CBB                                            ; +0x142, 0x100575c92\nmov     rdi, rbx                                                       ; +0x144, 0x100575c94\ncall    cocos2d__CCObject__autorelease                                 ; +0x147, 0x100575c97\njmp     short loc_100575CC6                                            ; +0x14c, 0x100575c9c\nmov     rdi, qword ptr [rbp+var_40.__r_.__value_+10h]; __p             ; +0x14e, 0x100575c9e\ncall    __ZdlPv; operator delete(void *)                               ; +0x152, 0x100575ca2\ntest    byte ptr [rbp+__str.__r_.__value_], 1                          ; +0x157, 0x100575ca7\njz      short loc_100575C8F                                            ; +0x15b, 0x100575cab\nmov     rdi, qword ptr [rbp+__str.__r_.__value_+10h]; __p              ; +0x15d, 0x100575cad\ncall    __ZdlPv; operator delete(void *)                               ; +0x161, 0x100575cb1\ntest    r14b, r14b                                                     ; +0x166, 0x100575cb6\njnz     short loc_100575C94                                            ; +0x169, 0x100575cb9\nmov     rax, [rbx]                                                     ; +0x16b, 0x100575cbb\nmov     rdi, rbx                                                       ; +0x16e, 0x100575cbe\ncall    qword ptr [rax+10h]                                            ; +0x171, 0x100575cc1\nxor     ebx, ebx                                                       ; +0x174, 0x100575cc4\nmov     rax, rbx                                                       ; +0x176, 0x100575cc6\nadd     rsp, 48h                                                       ; +0x179, 0x100575cc9\npop     rbx                                                            ; +0x17d, 0x100575ccd\npop     r14                                                            ; +0x17e, 0x100575cce\npop     r15                                                            ; +0x180, 0x100575cd0\npop     rbp                                                            ; +0x182, 0x100575cd2\nretn                                                                   ; +0x183, 0x100575cd3", "xrefs": ["GJRotateCommandLayer::init @ 0x1000018ad", "SetupOpacityPopup::init @ 0x100057237", "CustomizeObjectLayer::init @ 0x1001f53e4", "SetupTriggerPopup::addHelpButton @ 0x100235fae", "LevelOptionsLayer::setupOptions @ 0x10027171f", "ShareLevelSettingsLayer::init @ 0x1002827a0", "CollisionBlockPopup::init @ 0x10028604b", "SelectFontLayer::init @ 0x10029a228", "EditTriggersPopup::init @ 0x10029abc5", "GJAccountSettingsLayer::init @ 0x1002a09a9", "SetupTouchTogglePopup::init @ 0x1002b8887", "SetupCountTriggerPopup::init @ 0x1002bb704", "GJFollowCommandLayer::init @ 0x1002d543f", "GJPathPage::init @ 0x1002ff6d5", "SetGroupIDLayer::init @ 0x100312de0", "SetupObjectOptionsPopup::init @ 0x10031833b", "PurchaseItemPopup::init @ 0x100328297", "ShareListLayer::init @ 0x1003628ce", "ShareListLayer::init @ 0x100362b2d", "GJPFollowCommandLayer::init @ 0x100364b36", "SetupRandAdvTriggerPopup::init @ 0x10038de5c", "SetupCollisionTriggerPopup::init @ 0x1003955e4", "ChallengesPage::init @ 0x10039d9db", "SetupPulsePopup::init @ 0x1003ad1b9", "SetupAnimationPopup::init @ 0x1003d4c21", "SetupGravityModPopup::init @ 0x1003d8686", "LevelLeaderboard::init @ 0x1003dacd5", "CreateParticlePopup::init @ 0x10047042a", "SetupCameraModePopup::init @ 0x1004a8f98", "SetupCameraRotatePopup::init @ 0x1004bcb62", "SetupSequenceTriggerPopup::init @ 0x1004ddaa6", "SetupSmartBlockLayer::init @ 0x1004e626e", "SetupSmartTemplateLayer::init @ 0x1004e7dc4", "BrowseSmartTemplateLayer::init @ 0x1004e8f22", "BrowseSmartKeyLayer::init @ 0x1004eacc5", "SetupTimeWarpPopup::init @ 0x100502f79", "SetupMGTrigger::init @ 0x1005087e2", "SetupPortalPopup::init @ 0x10056fad5", "SetupCameraEdgePopup::init @ 0x100588277", "ShareCommentLayer::init @ 0x1005dff0a", "SetupRandTriggerPopup::init @ 0x1005e5537", "SetupInstantCountPopup::init @ 0x1005e8e18", "ConfigureValuePopup::init @ 0x100624c67", "ConfigureValuePopup::addInfoAlertButton @ 0x10062560f", "GJSpecialColorSelect::init @ 0x10062631c", "SetupCameraOffsetTrigger::init @ 0x10066173e", "SetupShakePopup::init @ 0x1006643f8", "SetupEndPopup::init @ 0x100668d2a", "ColorSelectPopup::init @ 0x100726ea6"], "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"}