{"type": "func", "start": 4932360, "end": 4933052, "name": "GJOptionsLayer::addToggleInternal", "pseudocode": "// \n// GJOptionsLayer::addToggleInternal from 0x4b4308 to 0x4b45bc (692 bytes)\n// \n// 2 xrefs:\n// > GJOptionsLayer::addGVToggle @ 0x4b460e\n// > GJOptionsLayer::addToggle @ 0x4b4da0\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\nvoid GJOptionsLayer::addToggleInternal(GJOptionsLayer *a1, const char *a2, int a3, bool a4, const char *a5)\n{\n  int v5; // r8\n  int m_toggleCount; // r0\n  int m_togglesPerPage; // r1\n  float v11; // r0\n  int m_maxPage; // r3\n  int v13; // s15\n  cocos2d::CCLayer *v14; // r9\n  cocos2d::CCMenu *m_buttonMenu; // r7\n  float m_maxLabelScale; // s16\n  float m_maxLabelWidth; // r11\n  CCMenuItemToggler *v18; // r5\n  unsigned int v19; // r7\n  std::_Hashtable<int, std::pair<const int, CCMenuItemToggler *>, std::allocator<std::pair<const int, CCMenuItemToggler *>>, std::__detail::_Select1st, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>>::size_type v20; // r11\n  _DWORD **v21; // r0\n  _DWORD *inserted; // r0\n  cocos2d::CCArray *v23; // r10\n  const std::string *v24; // r1\n  cocos2d::CCObject *v25; // r11\n  char *v26; // r0\n  cocos2d::CCSprite *v27; // r9\n  CCMenuItemSpriteExtra *v28; // r9\n  void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r4\n  int v30; // r7\n  _DWORD *v31; // r0\n  cocos2d::CCDictionary *m_values; // [sp+38h] [bp-14h]\n  int v33; // [sp+44h] [bp-8h] BYREF\n  cocos2d::CCPoint v34; // [sp+4Ch] [bp+0h] BYREF\n  cocos2d::CCPoint v35; // [sp+54h] [bp+8h] BYREF\n  cocos2d::CCPoint v36; // [sp+5Ch] [bp+10h] BYREF\n  void (*v37)(GJOptionsLayer *, cocos2d::CCObject *); // [sp+64h] [bp+18h]\n  unsigned int v38; // [sp+68h] [bp+1Ch]\n  cocos2d::CCPoint v39; // [sp+6Ch] [bp+20h] BYREF\n\n  m_toggleCount = a1->m_toggleCount;\n  m_togglesPerPage = a1->m_togglesPerPage;\n  v33 = a3;\n  a1->m_toggleCount = m_toggleCount + 1;\n  v11 = floorf((float)(m_toggleCount / m_togglesPerPage));\n  m_maxPage = a1->m_maxPage;\n  v13 = LODWORD(v11);\n  if ( v11 <= 0.0 )\n    v5 = 0;\n  else\n    v13 = (int)v11;\n  if ( v11 > 0.0 )\n    v5 = v13;\n  if ( m_maxPage < v5 )\n    a1->m_maxPage = v5;\n  else\n    a1->m_maxPage = m_maxPage;\n  GJOptionsLayer::nextPosition(&v34, a1, v5);\n  v14 = GJOptionsLayer::layerForPage(a1, v5);\n  sub_776584((int)&v35, (char *)a2);\n  m_buttonMenu = a1->m_buttonMenu;\n  v37 = GJOptionsLayer::onToggle;\n  v38 = 0;\n  cocos2d::CCPoint::CCPoint(&v39, &v34);\n  m_maxLabelScale = a1->m_maxLabelScale;\n  m_maxLabelWidth = a1->m_maxLabelWidth;\n  cocos2d::CCPoint::CCPoint(&v36, 8.0, 0.0);\n  v18 = GameToolbox::createToggleButton(\n          (int)&v35,\n          (unsigned int)v37,\n          v38,\n          a4,\n          m_buttonMenu,\n          &v39,\n          a1,\n          v14,\n          0.8,\n          m_maxLabelScale,\n          m_maxLabelWidth,\n          (int)&v36,\n          (int)\"bigFont.fnt\",\n          0,\n          0,\n          nullptr);\n  sub_774008(&v35);\n  v19 = v33;\n  v18->setTag(v18, v33);\n  CCMenuItemToggler::setSizeMult(v18, 1.0);\n  v20 = v19 % a1->m_toggleButtons._M_h._M_bucket_count;\n  v21 = sub_4A9C94(&a1->m_toggleButtons._M_h._M_buckets, v20, &v33);\n  if ( !v21 || (inserted = *v21) == nullptr )\n  {\n    v31 = (_DWORD *)operator new(0xCu);\n    *v31 = 0;\n    v31[1] = v19;\n    v31[2] = 0;\n    inserted = std::_Hashtable<int,std::pair<int const,CCMenuItemToggler *>,std::allocator<std::pair<int const,CCMenuItemToggler *>>,std::__detail::_Select1st,std::equal_to<int>,std::hash<int>,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits<false,false,true>>::_M_insert_unique_node(\n                 (int)&a1->m_toggleButtons,\n                 v20,\n                 v19,\n                 v31);\n  }\n  inserted[2] = v18;\n  GJOptionsLayer::incrementCountForPage(a1, v5);\n  v23 = GJOptionsLayer::objectsForPage(a1, v5);\n  cocos2d::CCArray::addObject(v23, v18);\n  v18->setVisible(v18, 0);\n  v14->setVisible(v14, 0);\n  if ( a5 )\n  {\n    if ( *a5 )\n    {\n      m_values = a1->m_values;\n      sub_776584((int)&v36, (char *)a5);\n      v25 = (cocos2d::CCObject *)cocos2d::CCString::create((cocos2d::CCString *)&v36, v24);\n      v26 = (char *)GJOptionsLayer::infoKey(a1, v19);\n      sub_776584((int)&v39, v26);\n      cocos2d::CCDictionary::setObject((int)m_values, v25);\n      sub_774008(&v39);\n      sub_774008(&v36);\n      v27 = cocos2d::CCSprite::createWithSpriteFrameName(\"GJ_infoIcon_001.png\");\n      ((void (__fastcall *)(cocos2d::CCSprite *, int))v27->setScale)(v27, 1056964608);\n      LODWORD(v39.x) = GJOptionsLayer::onInfo;\n      v39.y = 0.0;\n      v28 = CCMenuItemSpriteExtra::create(\n              v27,\n              nullptr,\n              (cocos2d::SEL_MenuHandler)__PAIR64__(GJOptionsLayer::onInfo, (unsigned int)a1));\n      CCMenuItemSpriteExtra::setSizeMult(v28, 2.0);\n      v28->setTag(v28, v19);\n      a1->m_buttonMenu->addChild(a1->m_buttonMenu, v28);\n      setPosition = v28->setPosition;\n      v30 = (int)v18->getPosition(v18);\n      cocos2d::CCPoint::CCPoint(&v35, -18.0, 16.0);\n      cocos2d::CCPoint::operator+(&v36, v30, &v35);\n      setPosition(v28, &v36);\n      cocos2d::CCArray::addObject(v23, v28);\n      v28->setVisible(v28, 0);\n    }\n  }\n}", "assembly": "; \n; GJOptionsLayer::addToggleInternal from 0x4b4308 to 0x4b45bc (692 bytes)\n; \n; 2 xrefs:\n; > GJOptionsLayer::addGVToggle @ 0x4b460e\n; > GJOptionsLayer::addToggle @ 0x4b4da0\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.W          {R4-R11,LR}                                            ; +0x0, 0x4b4308\nMOV             R10, R3                                                ; +0x4, 0x4b430c\nVPUSH           {D8}                                                   ; +0x6, 0x4b430e\nMOV             R4, R0                                                 ; +0xa, 0x4b4312\nLDR             R6, =(__stack_chk_guard_ptr - 0x4B4320)                ; +0xc, 0x4b4314\nMOV             R5, R1                                                 ; +0xe, 0x4b4316\nLDR.W           R0, [R0,#0x2B4]                                        ; +0x10, 0x4b4318\nADD             R6, PC; __stack_chk_guard_ptr                          ; +0x14, 0x4b431c\nLDR             R6, [R6]; __stack_chk_guard                            ; +0x16, 0x4b431e\nLDR.W           R1, [R4,#0x2B0]                                        ; +0x18, 0x4b4320\nSUB             SP, SP, #0x7C                                          ; +0x1c, 0x4b4324\nADD.W           R11, SP, #0x4C                                         ; +0x1e, 0x4b4326\nLDR             R3, [SP,#0x7C+arg_0]                                   ; +0x22, 0x4b432a\nSTR             R2, [SP,#0x7C+var_38]                                  ; +0x24, 0x4b432c\nSTR             R3, [SP,#0x7C+var_4C]                                  ; +0x26, 0x4b432e\nLDR             R3, [R6]                                               ; +0x28, 0x4b4330\nSTR             R3, [SP,#0x7C+var_8]                                   ; +0x2a, 0x4b4332\nADDS            R3, R0, #1                                             ; +0x2c, 0x4b4334\nSTR.W           R3, [R4,#0x2B4]                                        ; +0x2e, 0x4b4336\nBLX             __aeabi_idiv                                           ; +0x32, 0x4b433a\nVMOV            S15, R0                                                ; +0x36, 0x4b433e\nVCVT.F32.S32    S15, S15                                               ; +0x3a, 0x4b4342\nVMOV            R0, S15; x                                             ; +0x3e, 0x4b4346\nBLX             floorf                                                 ; +0x42, 0x4b434a\nLDR.W           R3, [R4,#0x2B8]                                        ; +0x46, 0x4b434e\nMOV             R1, R4; int                                            ; +0x4a, 0x4b4352\nSTR             R6, [SP,#0x7C+var_40]                                  ; +0x4c, 0x4b4354\nADD             R6, SP, #0x7C+var_28                                   ; +0x4e, 0x4b4356\nVMOV            S15, R0                                                ; +0x50, 0x4b4358\nMOV             R0, R11; this                                          ; +0x54, 0x4b435c\nVCMPE.F32       S15, #0.0                                              ; +0x56, 0x4b435e\nVMRS            APSR_nzcv, FPSCR                                       ; +0x5a, 0x4b4362\nITET GT                                                                ; +0x5e, 0x4b4366\nVCVTGT.S32.F32  S15, S15                                               ; +0x60, 0x4b4368\nMOVLE.W         R8, #0                                                 ; +0x64, 0x4b436c\nVMOVGT          R8, S15                                                ; +0x68, 0x4b4370\nCMP             R3, R8                                                 ; +0x6c, 0x4b4374\nITE GE                                                                 ; +0x6e, 0x4b4376\nSTRGE.W         R3, [R4,#0x2B8]                                        ; +0x70, 0x4b4378\nSTRLT.W         R8, [R4,#0x2B8]                                        ; +0x74, 0x4b437c\nMOV             R2, R8                                                 ; +0x78, 0x4b4380\nBL              _ZN14GJOptionsLayer12nextPositionEi; GJOptionsLayer::nextPosition(int) ; +0x7a, 0x4b4382\nMOV             R1, R8; int                                            ; +0x7e, 0x4b4386\nMOV             R0, R4; this                                           ; +0x80, 0x4b4388\nBL              _ZN14GJOptionsLayer12layerForPageEi; GJOptionsLayer::layerForPage(int) ; +0x82, 0x4b438a\nMOV             R1, R5; char *                                         ; +0x86, 0x4b438e\nADD             R2, SP, #0x7C+var_34                                   ; +0x88, 0x4b4390\nMOV             R9, R0                                                 ; +0x8a, 0x4b4392\nMOV             R0, R6; int                                            ; +0x8c, 0x4b4394\nBL              sub_776584                                             ; +0x8e, 0x4b4396\nLDR             R3, =(_ZN14GJOptionsLayer8onToggleEPN7cocos2d8CCObjectE_ptr - 0x4B43A6) ; +0x92, 0x4b439a\nMOV             R1, R11; cocos2d::CCPoint *                            ; +0x94, 0x4b439c\nLDR.W           R7, [R4,#0x1B8]                                        ; +0x96, 0x4b439e\nADD             R3, PC; _ZN14GJOptionsLayer8onToggleEPN7cocos2d8CCObjectE_ptr ; +0x9a, 0x4b43a2\nLDR             R3, [R3]; GJOptionsLayer::onToggle(cocos2d::CCObject *) ; +0x9c, 0x4b43a4\nSTR             R3, [SP,#0x7C+var_18]                                  ; +0x9e, 0x4b43a6\nMOVS            R3, #0                                                 ; +0xa0, 0x4b43a8\nSTR             R3, [SP,#0x7C+var_14]                                  ; +0xa2, 0x4b43aa\nADD             R3, SP, #0x7C+var_10                                   ; +0xa4, 0x4b43ac\nSTR             R3, [SP,#0x7C+var_48]                                  ; +0xa6, 0x4b43ae\nMOV             R0, R3; this                                           ; +0xa8, 0x4b43b0\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0xaa, 0x4b43b2\nADD             R5, SP, #0x7C+var_20                                   ; +0xae, 0x4b43b6\nMOV.W           R1, #0x41000000; float                                 ; +0xb0, 0x4b43b8\nMOVS            R2, #0; float                                          ; +0xb4, 0x4b43bc\nVLDR            S16, [R4,#0x2BC]                                       ; +0xb6, 0x4b43be\nMOV             R0, R5; this                                           ; +0xba, 0x4b43c2\nLDR.W           R11, [R4,#0x2C0]                                       ; +0xbc, 0x4b43c4\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xc0, 0x4b43c8\nLDR             R3, [SP,#0x7C+var_48]                                  ; +0xc4, 0x4b43cc\nMOV             R0, R6; int                                            ; +0xc6, 0x4b43ce\nVSTR            S16, [SP,#0x7C+var_68]                                 ; +0xc8, 0x4b43d0\nSTR             R7, [SP,#0x7C+var_7C]; int                             ; +0xcc, 0x4b43d4\nSTR             R3, [SP,#0x7C+var_78]; int                             ; +0xce, 0x4b43d6\nLDR             R3, flt_4B45BC                                         ; +0xd0, 0x4b43d8\nSTR             R4, [SP,#0x7C+var_74]; int                             ; +0xd2, 0x4b43da\nSTR.W           R9, [SP,#0x7C+var_70]; int                             ; +0xd4, 0x4b43dc\nSTR             R3, [SP,#0x7C+var_6C]; float                           ; +0xd8, 0x4b43e0\nLDR             R3, =(aBigfontFnt - 0x4B43EC); \"bigFont.fnt\"           ; +0xda, 0x4b43e2\nSTR.W           R11, [SP,#0x7C+var_64]; float                          ; +0xdc, 0x4b43e4\nADD             R3, PC; \"bigFont.fnt\"                                  ; +0xe0, 0x4b43e8\nSTR             R3, [SP,#0x7C+var_5C]; int                             ; +0xe2, 0x4b43ea\nMOVS            R3, #0                                                 ; +0xe4, 0x4b43ec\nSTR             R3, [SP,#0x7C+var_58]; char                            ; +0xe6, 0x4b43ee\nSTR             R3, [SP,#0x7C+var_54]; int                             ; +0xe8, 0x4b43f0\nSTR             R3, [SP,#0x7C+var_50]; int                             ; +0xea, 0x4b43f2\nADD             R3, SP, #0x7C+var_18                                   ; +0xec, 0x4b43f4\nSTR             R5, [SP,#0x7C+var_60]; int                             ; +0xee, 0x4b43f6\nLDM.W           R3, {R1,R2}; int                                       ; +0xf0, 0x4b43f8\nMOV             R3, R10; int                                           ; +0xf4, 0x4b43fc\nBL              _ZN11GameToolbox18createToggleButtonESsMN7cocos2d8CCObjectEFvPS1_EbPNS0_6CCMenuENS0_7CCPointEPNS0_6CCNodeES9_fffS7_PKcbiPNS0_7CCArrayE; GameToolbox::createToggleButton(std::string,void (cocos2d::CCObject::*)(cocos2d::CCObject*),bool,cocos2d::CCMenu *,cocos2d::CCPoint,cocos2d::CCNode *,cocos2d::CCNode *,float,float,float,cocos2d::CCPoint,char const*,bool,int,cocos2d::CCArray *) ; +0xf6, 0x4b43fe\nMOV             R5, R0                                                 ; +0xfa, 0x4b4402\nMOV             R0, R6                                                 ; +0xfc, 0x4b4404\nBL              sub_774008                                             ; +0xfe, 0x4b4406\nADD             R2, SP, #0x7C+var_4                                    ; +0x102, 0x4b440a\nLDR             R3, [R5]                                               ; +0x104, 0x4b440c\nMOV             R0, R5                                                 ; +0x106, 0x4b440e\nLDR.W           R7, [R2,#-0x34]!                                       ; +0x108, 0x4b4410\nADD.W           R10, R4, #0x2D8                                        ; +0x10c, 0x4b4414\nLDR             R3, [R3,#0x24]                                         ; +0x110, 0x4b4418\nSTR             R2, [SP,#0x7C+var_44]                                  ; +0x112, 0x4b441a\nMOV             R1, R7                                                 ; +0x114, 0x4b441c\nSTR             R2, [SP,#0x7C+var_3C]                                  ; +0x116, 0x4b441e\nBLX             R3                                                     ; +0x118, 0x4b4420\nMOV             R0, R5; this                                           ; +0x11a, 0x4b4422\nMOV.W           R1, #0x3F800000; float                                 ; +0x11c, 0x4b4424\nBL              _ZN17CCMenuItemToggler11setSizeMultEf; CCMenuItemToggler::setSizeMult(float) ; +0x120, 0x4b4428\nMOV             R0, R7                                                 ; +0x124, 0x4b442c\nLDR.W           R1, [R4,#0x2DC]                                        ; +0x126, 0x4b442e\nBLX             __aeabi_uidivmod                                       ; +0x12a, 0x4b4432\nMOV             R0, R10                                                ; +0x12e, 0x4b4436\nLDR             R2, [SP,#0x7C+var_44]                                  ; +0x130, 0x4b4438\nMOV             R11, R1                                                ; +0x132, 0x4b443a\nBL              sub_4A9C94                                             ; +0x134, 0x4b443c\nCMP             R0, #0                                                 ; +0x138, 0x4b4440\nBEQ.W           loc_4B4596                                             ; +0x13a, 0x4b4442\nLDR             R0, [R0]                                               ; +0x13e, 0x4b4446\nCMP             R0, #0                                                 ; +0x140, 0x4b4448\nBEQ.W           loc_4B4596                                             ; +0x142, 0x4b444a\nADDS            R0, #8                                                 ; +0x146, 0x4b444e\nMOV             R1, R8; int                                            ; +0x148, 0x4b4450\nSTR             R5, [R0]                                               ; +0x14a, 0x4b4452\nMOV             R0, R4; this                                           ; +0x14c, 0x4b4454\nBL              _ZN14GJOptionsLayer21incrementCountForPageEi; GJOptionsLayer::incrementCountForPage(int) ; +0x14e, 0x4b4456\nMOV             R1, R8; int                                            ; +0x152, 0x4b445a\nMOV             R0, R4; this                                           ; +0x154, 0x4b445c\nBL              _ZN14GJOptionsLayer14objectsForPageEi; GJOptionsLayer::objectsForPage(int) ; +0x156, 0x4b445e\nMOV             R1, R5; cocos2d::CCObject *                            ; +0x15a, 0x4b4462\nMOV             R10, R0                                                ; +0x15c, 0x4b4464\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x15e, 0x4b4466\nLDR             R3, [R5]                                               ; +0x162, 0x4b446a\nMOV             R0, R5                                                 ; +0x164, 0x4b446c\nMOVS            R1, #0                                                 ; +0x166, 0x4b446e\nLDR.W           R3, [R3,#0xA4]                                         ; +0x168, 0x4b4470\nBLX             R3                                                     ; +0x16c, 0x4b4474\nLDR.W           R3, [R9]                                               ; +0x16e, 0x4b4476\nMOV             R0, R9                                                 ; +0x172, 0x4b447a\nMOVS            R1, #0                                                 ; +0x174, 0x4b447c\nLDR.W           R3, [R3,#0xA4]                                         ; +0x176, 0x4b447e\nBLX             R3                                                     ; +0x17a, 0x4b4482\nLDR             R3, [SP,#0x7C+var_4C]                                  ; +0x17c, 0x4b4484\nCMP             R3, #0                                                 ; +0x17e, 0x4b4486\nBEQ             loc_4B4570                                             ; +0x180, 0x4b4488\nLDRB            R3, [R3]                                               ; +0x182, 0x4b448a\nCMP             R3, #0                                                 ; +0x184, 0x4b448c\nBEQ             loc_4B4570                                             ; +0x186, 0x4b448e\nLDR.W           R3, [R4,#0x2C4]                                        ; +0x188, 0x4b4490\nADD.W           R8, SP, #0x7C+var_20                                   ; +0x18c, 0x4b4494\nLDR             R1, [SP,#0x7C+var_4C]; char *                          ; +0x190, 0x4b4498\nADD             R2, SP, #0x7C+var_34                                   ; +0x192, 0x4b449a\nMOV             R0, R8; int                                            ; +0x194, 0x4b449c\nSTR             R3, [SP,#0x7C+var_44]                                  ; +0x196, 0x4b449e\nBL              sub_776584                                             ; +0x198, 0x4b44a0\nMOV             R0, R8                                                 ; +0x19c, 0x4b44a4\nBL              _ZN7cocos2d8CCString6createERKSs; cocos2d::CCString::create(std::string const&) ; +0x19e, 0x4b44a6\nMOV             R11, R0                                                ; +0x1a2, 0x4b44aa\nMOV             R1, R7; int                                            ; +0x1a4, 0x4b44ac\nMOV             R0, R4; this                                           ; +0x1a6, 0x4b44ae\nBL              _ZN14GJOptionsLayer7infoKeyEi; GJOptionsLayer::infoKey(int) ; +0x1a8, 0x4b44b0\nADD.W           R9, SP, #0x7C+var_10                                   ; +0x1ac, 0x4b44b4\nMOV             R1, R0; char *                                         ; +0x1b0, 0x4b44b8\nMOV             R2, R6                                                 ; +0x1b2, 0x4b44ba\nMOV             R0, R9; int                                            ; +0x1b4, 0x4b44bc\nBL              sub_776584                                             ; +0x1b6, 0x4b44be\nLDR             R0, [SP,#0x7C+var_44]; int                             ; +0x1ba, 0x4b44c2\nMOV             R1, R11; this                                          ; +0x1bc, 0x4b44c4\nMOV             R2, R9                                                 ; +0x1be, 0x4b44c6\nBL              _ZN7cocos2d12CCDictionary9setObjectEPNS_8CCObjectERKSs; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,std::string const&) ; +0x1c0, 0x4b44c8\nLDR             R0, [SP,#0x7C+var_48]                                  ; +0x1c4, 0x4b44cc\nMOV.W           R11, #0                                                ; +0x1c6, 0x4b44ce\nBL              sub_774008                                             ; +0x1ca, 0x4b44d2\nMOV             R0, R8                                                 ; +0x1ce, 0x4b44d6\nBL              sub_774008                                             ; +0x1d0, 0x4b44d8\nLDR             R0, =(aGjInfoicon001P - 0x4B44E2); \"GJ_infoIcon_001.png\" ; +0x1d4, 0x4b44dc\nADD             R0, PC; \"GJ_infoIcon_001.png\"                          ; +0x1d6, 0x4b44de\nBL              _ZN7cocos2d8CCSprite25createWithSpriteFrameNameEPKc; cocos2d::CCSprite::createWithSpriteFrameName(char const*) ; +0x1d8, 0x4b44e0\nMOV.W           R1, #0x3F000000                                        ; +0x1dc, 0x4b44e4\nLDR             R3, [R0]                                               ; +0x1e0, 0x4b44e8\nMOV             R9, R0                                                 ; +0x1e2, 0x4b44ea\nLDR             R3, [R3,#0x50]                                         ; +0x1e4, 0x4b44ec\nBLX             R3                                                     ; +0x1e6, 0x4b44ee\nLDR             R3, =(_ZN14GJOptionsLayer6onInfoEPN7cocos2d8CCObjectE_ptr - 0x4B44FA) ; +0x1e8, 0x4b44f0\nMOV             R2, R4                                                 ; +0x1ea, 0x4b44f2\nMOV             R0, R9                                                 ; +0x1ec, 0x4b44f4\nADD             R3, PC; _ZN14GJOptionsLayer6onInfoEPN7cocos2d8CCObjectE_ptr ; +0x1ee, 0x4b44f6\nLDR             R3, [R3]; GJOptionsLayer::onInfo(cocos2d::CCObject *)  ; +0x1f0, 0x4b44f8\nMOV             R1, R11                                                ; +0x1f2, 0x4b44fa\nSTR.W           R11, [SP,#0x7C+var_7C]                                 ; +0x1f4, 0x4b44fc\nSTR             R3, [SP,#0x7C+var_10]                                  ; +0x1f8, 0x4b4500\nSTR.W           R11, [SP,#0x7C+var_C]                                  ; +0x1fa, 0x4b4502\nBL              _ZN21CCMenuItemSpriteExtra6createEPN7cocos2d6CCNodeES2_PNS0_8CCObjectEMS3_FvS4_E; CCMenuItemSpriteExtra::create(cocos2d::CCNode *,cocos2d::CCNode *,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x1fe, 0x4b4506\nMOV.W           R1, #0x40000000; float                                 ; +0x202, 0x4b450a\nMOV             R9, R0                                                 ; +0x206, 0x4b450e\nBL              _ZN21CCMenuItemSpriteExtra11setSizeMultEf; CCMenuItemSpriteExtra::setSizeMult(float) ; +0x208, 0x4b4510\nLDR.W           R3, [R9]                                               ; +0x20c, 0x4b4514\nMOV             R1, R7                                                 ; +0x210, 0x4b4518\nMOV             R0, R9                                                 ; +0x212, 0x4b451a\nLDR             R3, [R3,#0x24]                                         ; +0x214, 0x4b451c\nBLX             R3                                                     ; +0x216, 0x4b451e\nLDR.W           R0, [R4,#0x1B8]                                        ; +0x218, 0x4b4520\nMOV             R1, R9                                                 ; +0x21c, 0x4b4524\nLDR             R3, [R0]                                               ; +0x21e, 0x4b4526\nLDR.W           R3, [R3,#0xDC]                                         ; +0x220, 0x4b4528\nBLX             R3                                                     ; +0x224, 0x4b452c\nLDR.W           R3, [R9]                                               ; +0x226, 0x4b452e\nMOV             R0, R5                                                 ; +0x22a, 0x4b4532\nLDR             R4, [R3,#0x5C]                                         ; +0x22c, 0x4b4534\nLDR             R3, [R5]                                               ; +0x22e, 0x4b4536\nLDR             R3, [R3,#0x60]                                         ; +0x230, 0x4b4538\nBLX             R3                                                     ; +0x232, 0x4b453a\nLDR             R1, flt_4B45C0; float                                  ; +0x234, 0x4b453c\nMOV.W           R2, #0x41800000; float                                 ; +0x236, 0x4b453e\nMOV             R7, R0                                                 ; +0x23a, 0x4b4542\nMOV             R0, R6; this                                           ; +0x23c, 0x4b4544\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x23e, 0x4b4546\nMOV             R2, R6                                                 ; +0x242, 0x4b454a\nMOV             R0, R8                                                 ; +0x244, 0x4b454c\nMOV             R1, R7                                                 ; +0x246, 0x4b454e\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x248, 0x4b4550\nMOV             R0, R9                                                 ; +0x24c, 0x4b4554\nMOV             R1, R8                                                 ; +0x24e, 0x4b4556\nBLX             R4                                                     ; +0x250, 0x4b4558\nMOV             R0, R10; this                                          ; +0x252, 0x4b455a\nMOV             R1, R9; cocos2d::CCObject *                            ; +0x254, 0x4b455c\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x256, 0x4b455e\nLDR.W           R3, [R9]                                               ; +0x25a, 0x4b4562\nMOV             R0, R9                                                 ; +0x25e, 0x4b4566\nMOV             R1, R11                                                ; +0x260, 0x4b4568\nLDR.W           R3, [R3,#0xA4]                                         ; +0x262, 0x4b456a\nBLX             R3                                                     ; +0x266, 0x4b456e\nLDR             R3, [SP,#0x7C+var_40]                                  ; +0x268, 0x4b4570\nMOV             R0, R5                                                 ; +0x26a, 0x4b4572\nLDR             R2, [SP,#0x7C+var_8]                                   ; +0x26c, 0x4b4574\nLDR             R3, [R3]                                               ; +0x26e, 0x4b4576\nCMP             R2, R3                                                 ; +0x270, 0x4b4578\nBEQ             loc_4B45B2                                             ; +0x272, 0x4b457a\nBLX             __stack_chk_fail                                       ; +0x274, 0x4b457c\nMOV             R0, R6                                                 ; +0x278, 0x4b4580\nB               loc_4B458E                                             ; +0x27a, 0x4b4582\nMOV             R0, R9                                                 ; +0x27c, 0x4b4584\nBL              sub_774008                                             ; +0x27e, 0x4b4586\nB               loc_4B458C                                             ; +0x282, 0x4b458a\nMOV             R0, R8                                                 ; +0x284, 0x4b458c\nBL              sub_774008                                             ; +0x286, 0x4b458e\nBL              __cxa_end_cleanup                                      ; +0x28a, 0x4b4592\nMOVS            R0, #0xC; unsigned int                                 ; +0x28e, 0x4b4596\nBL              _Znwj; operator new(uint)                              ; +0x290, 0x4b4598\nMOVS            R2, #0                                                 ; +0x294, 0x4b459c\nMOV             R1, R11                                                ; +0x296, 0x4b459e\nSTM.W           R0, {R2,R7}                                            ; +0x298, 0x4b45a0\nMOV             R3, R0                                                 ; +0x29c, 0x4b45a4\nSTR             R2, [R0,#8]                                            ; +0x29e, 0x4b45a6\nMOV             R0, R10                                                ; +0x2a0, 0x4b45a8\nMOV             R2, R7                                                 ; +0x2a2, 0x4b45aa\nBL              _ZNSt10_HashtableIiSt4pairIKiP17CCMenuItemTogglerESaIS4_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE21_M_insert_unique_nodeEjjPNS6_10_Hash_nodeIS4_Lb0EEE; std::_Hashtable<int,std::pair<int const,CCMenuItemToggler *>,std::allocator<std::pair<int const,CCMenuItemToggler *>>,std::__detail::_Select1st,std::equal_to<int>,std::hash<int>,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits<false,false,true>>::_M_insert_unique_node(uint,uint,std::__detail::_Hash_node<std::pair<int const,CCMenuItemToggler *>,false> *) ; +0x2a4, 0x4b45ac\nB               loc_4B444E                                             ; +0x2a8, 0x4b45b0\nADD             SP, SP, #0x7C ; '|'                                    ; +0x2aa, 0x4b45b2\nVPOP            {D8}                                                   ; +0x2ac, 0x4b45b4\nPOP.W           {R4-R11,PC}                                            ; +0x2b0, 0x4b45b8", "xrefs": ["GJOptionsLayer::addGVToggle @ 0x4b460e", "GJOptionsLayer::addToggle @ 0x4b4da0"], "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"}