{"type": "func", "start": 5501444, "end": 5502876, "name": "BrowseSmartKeyLayer::init", "pseudocode": "// \n// BrowseSmartKeyLayer::init from 0x53f204 to 0x53f79c (1432 bytes)\n// \n// 1 xrefs:\n// > BrowseSmartKeyLayer::create @ 0x53f86e\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\nint __fastcall BrowseSmartKeyLayer::init(BrowseSmartTemplateLayer *a1, cocos2d::CCObject *a2, int a3)\n{\n  cocos2d::CCDirector *v6; // r0\n  CCMenuItemSpriteExtra *v7; // r7\n  cocos2d::CCNode *m_buttonMenu; // r10\n  void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r9\n  cocos2d::CCNode *v10; // r6\n  int m_template; // r6\n  cocos2d::CCArray *Prefabs; // r9\n  stl::StringData<char>::Internal *v13; // r6\n  int v14; // r7\n  int v15; // r1\n  int v16; // r2\n  GJSmartBlockPreview *v17; // r6\n  int v18; // r10\n  SmartPrefabResult v19; // kr00_28\n  GameManager *v20; // r0\n  int v21; // r5\n  SmartPrefabResult v22; // kr24_28\n  CCMenuItemSpriteExtra *v23; // r10\n  int v24; // s18\n  int v25; // r5\n  void (__fastcall *v26)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r6\n  float v27; // s22\n  ButtonSprite *v28; // r0\n  CCMenuItemSpriteExtra *v29; // r10\n  ButtonSprite *v30; // r0\n  CCMenuItemSpriteExtra *v31; // r9\n  ButtonSprite *v32; // r0\n  CCMenuItemSpriteExtra *v33; // r8\n  ButtonSprite *v34; // r0\n  CCMenuItemSpriteExtra *v35; // r7\n  cocos2d::CCNode *v36; // r5\n  void (__fastcall *v37)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r11\n  void (__fastcall *v38)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r10\n  void (__fastcall *v39)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r9\n  void (__fastcall *v40)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r8\n  stl::StringData<char>::Internal *v42; // r3\n  stl::StringData<char>::Internal *v43; // r3\n  int v44; // [sp+0h] [bp-7Ch]\n  bool v45; // [sp+4h] [bp-78h]\n  char *v46; // [sp+8h] [bp-74h]\n  _BYTE v47[3]; // [sp+Ch] [bp-70h]\n  char *v48; // [sp+10h] [bp-6Ch]\n  float v49; // [sp+10h] [bp-6Ch]\n  char *v50; // [sp+10h] [bp-6Ch]\n  int v51; // [sp+14h] [bp-68h]\n  signed int TotalChanceForPrefab; // [sp+18h] [bp-64h]\n  cocos2d::CCSize v53; // [sp+24h] [bp-58h] BYREF\n  cocos2d::CCPoint v54; // [sp+2Ch] [bp-50h] BYREF\n  cocos2d::CCPoint v55; // [sp+34h] [bp-48h] BYREF\n  cocos2d::CCPoint v56; // [sp+3Ch] [bp-40h] BYREF\n  cocos2d::CCPoint v57; // [sp+44h] [bp-38h] BYREF\n  void (*v58)(BrowseSmartKeyLayer *, cocos2d::CCObject *); // [sp+4Ch] [bp-30h]\n  int v59; // [sp+50h] [bp-2Ch]\n  void (*v60)(BrowseSmartKeyLayer *, cocos2d::CCObject *); // [sp+54h] [bp-28h]\n  int v61; // [sp+58h] [bp-24h]\n  void (*v62)(BrowseSmartKeyLayer *, cocos2d::CCObject *); // [sp+5Ch] [bp-20h]\n  int v63; // [sp+60h] [bp-1Ch]\n  cocos2d::CCPoint v64; // [sp+64h] [bp-18h] BYREF\n  cocos2d::CCPoint v65; // [sp+6Ch] [bp-10h] BYREF\n\n  v51 = FLAlertLayer::init(a1, (cocos2d::_ccColor4B)150);\n  if ( v51 )\n  {\n    sub_775D40(&a1[1], a3);\n    BrowseSmartTemplateLayer::baseSetup(a1);\n    v6 = cocos2d::CCDirector::sharedDirector();\n    cocos2d::CCDirector::getWinSize(&v53, v6);\n    if ( a2 )\n    {\n      a1->m_template = (GJSmartTemplate *)a2;\n      cocos2d::CCObject::retain(a2);\n    }\n    sub_776584((int)&v64, \"Help\");\n    sub_776584(\n      (int)&v65,\n      \"Use <cg>Add</c> to give chance to the selected variation(s).\\n\"\n      \"Click <cy>Zero</c> to reset the chance.\\n\"\n      \"Use <cl>Create</c> to create a specific variation.\");\n    v7 = InfoAlertButton::create((int)&v64, (int)&v65, 1065353216);\n    sub_774008(&v65);\n    sub_774008(&v64);\n    a1->m_buttonMenu->addChild(a1->m_buttonMenu, v7);\n    m_buttonMenu = a1->m_buttonMenu;\n    setPosition = v7->setPosition;\n    cocos2d::CCPoint::CCPoint(\n      &v64,\n      (float)((float)(v53.width * 0.5) + 225.0) - 18.0,\n      (float)((float)(v53.height * 0.5) + 140.0) - 18.0);\n    cocos2d::CCNode::convertToNodeSpace(&v65, m_buttonMenu, &v64);\n    setPosition(v7, &v65);\n    if ( a1->m_template )\n    {\n      v10 = a1->m_buttonMenu;\n      cocos2d::CCPoint::CCPoint(&v65, v53.width * 0.5, (float)((float)(v53.height * 0.5) + 140.0) - 50.0);\n      cocos2d::CCNode::convertToNodeSpace(&v54, v10, &v65);\n      m_template = (int)a1->m_template;\n      sub_775C20(&v65);\n      Prefabs = (cocos2d::CCArray *)GJSmartTemplate::getPrefabs(m_template, (const std::string *)&v65);\n      sub_774008(&v65);\n      v13 = (stl::StringData<char>::Internal *)a1->m_template;\n      sub_775C20(&v65);\n      TotalChanceForPrefab = GJSmartTemplate::getTotalChanceForPrefab(v13, (stl::StringData<char>::Internal *)&v65);\n      sub_774008(&v65);\n      if ( Prefabs )\n        v48 = (char *)cocos2d::CCArray::count(Prefabs);\n      else\n        v48 = nullptr;\n      v14 = 0;\n      while ( (int)v48 >= v14 )\n      {\n        sub_775C20(&v65);\n        v17 = (GJSmartBlockPreview *)GJSmartBlockPreview::create((int)&v65, v15, v16);\n        sub_774008(&v65);\n        if ( v14 <= 0 )\n        {\n          sub_775C20(&v65);\n          v22.m_smartPrefab = (GJSmartPrefab *)&v65;\n          v22.m_binaryKey.m_data.m_data = (stl::StringData<char>::Internal *)(&dword_0 + 2);\n          v22.m_prefabKey.m_data.m_data = v43;\n          v22.m_prefabCount = v44;\n          v22.m_unrequired = v45;\n          v22.m_rotation = (int)v46;\n          v22.m_flipX = v47[0];\n          v22.m_flipY = v47[1];\n          v22.m_ignoreCorners = v47[2];\n          GJSmartBlockPreview::addTemplateGuide(v17, v22, *(float *)&v48);\n          v21 = 0;\n          sub_774008(&v65);\n        }\n        else\n        {\n          v18 = cocos2d::CCArray::objectAtIndex(Prefabs, v14 - 1);\n          sub_775C20(&v65);\n          v19.m_smartPrefab = (GJSmartPrefab *)&v65;\n          v19.m_binaryKey.m_data.m_data = (stl::StringData<char>::Internal *)(&dword_0 + 1);\n          v19.m_prefabKey.m_data.m_data = v42;\n          v19.m_prefabCount = v44;\n          v19.m_unrequired = v45;\n          v19.m_rotation = (int)v46;\n          v19.m_flipX = v47[0];\n          v19.m_flipY = v47[1];\n          v19.m_ignoreCorners = v47[2];\n          GJSmartBlockPreview::addTemplateGuide(v17, v19, *(float *)&v48);\n          sub_774008(&v65);\n          sub_775C20(&v64);\n          sub_775C20(&v65);\n          v20 = GameManager::sharedState();\n          GJSmartBlockPreview::addPreview((cocos2d::CCArray *)v17, (int)&v64, &v65, v20->m_levelEditorLayer);\n          sub_774008(&v65);\n          sub_774008(&v64);\n          v21 = *(_DWORD *)(v18 + 60);\n          if ( TotalChanceForPrefab > 0 )\n            GJSmartBlockPreview::addChance(v17, *(_DWORD *)(v18 + 64), TotalChanceForPrefab);\n        }\n        ((void (__fastcall *)(GJSmartBlockPreview *, int))v17->setScale)(v17, 1056964608);\n        v44 = 0;\n        v58 = BrowseSmartKeyLayer::onPrefabObject;\n        v59 = 0;\n        v23 = CCMenuItemSpriteExtra::create(\n                v17,\n                nullptr,\n                (cocos2d::SEL_MenuHandler)__PAIR64__(BrowseSmartKeyLayer::onPrefabObject, (unsigned int)a1));\n        a1->m_buttonMenu->addChild(a1->m_buttonMenu, v23);\n        v17->setTag(v17, v21);\n        v23->setTag(v23, v21);\n        v24 = (int)floorf((float)(v14 / 28));\n        v25 = v14 - 28 * v24;\n        ++v14;\n        v26 = v23->setPosition;\n        v27 = floorf((float)(v25 / 7));\n        cocos2d::CCPoint::CCPoint(&v64, (float)((float)((float)(v25 % 7) * 60.0) - 210.0) + 30.0, v27 * -60.0);\n        cocos2d::CCPoint::operator+(&v65, &v54, &v64);\n        v26(v23, &v65);\n        BrowseSmartTemplateLayer::addObjectToPage(a1, v23, v24);\n      }\n      BrowseSmartTemplateLayer::goToPage(a1, 0);\n      v28 = ButtonSprite::create(\n              (ButtonSprite *)\"Create\",\n              (const char *)&dword_18 + 1,\n              0,\n              0.5,\n              1,\n              \"goldFont.fnt\",\n              \"GJ_button_01.png\",\n              COERCE_CONST_CHAR_(30.0),\n              *(float *)&v48);\n      v60 = BrowseSmartKeyLayer::onButton;\n      v61 = 0;\n      v29 = CCMenuItemSpriteExtra::create(\n              v28,\n              nullptr,\n              (cocos2d::SEL_MenuHandler)__PAIR64__(BrowseSmartKeyLayer::onButton, (unsigned int)a1));\n      v29->setTag(v29, 1);\n      a1->m_buttonMenu->addChild(a1->m_buttonMenu, v29);\n      v30 = ButtonSprite::create(\n              (ButtonSprite *)\"Delete\",\n              (const char *)&dword_18 + 1,\n              0,\n              0.5,\n              1,\n              \"goldFont.fnt\",\n              \"GJ_button_05.png\",\n              COERCE_CONST_CHAR_(30.0),\n              v49);\n      v62 = BrowseSmartKeyLayer::onButton;\n      v63 = 0;\n      v31 = CCMenuItemSpriteExtra::create(\n              v30,\n              nullptr,\n              (cocos2d::SEL_MenuHandler)__PAIR64__(BrowseSmartKeyLayer::onButton, (unsigned int)a1));\n      v31->setTag(v31, 2);\n      a1->m_buttonMenu->addChild(a1->m_buttonMenu, v31);\n      v32 = ButtonSprite::create(\n              (ButtonSprite *)\"Zero\",\n              (const char *)&dword_18 + 1,\n              0,\n              0.5,\n              1,\n              \"goldFont.fnt\",\n              \"GJ_button_02.png\",\n              COERCE_CONST_CHAR_(30.0),\n              COERCE_FLOAT(\"GJ_button_02.png\"));\n      LODWORD(v64.x) = BrowseSmartKeyLayer::onButton;\n      v64.y = 0.0;\n      v33 = CCMenuItemSpriteExtra::create(\n              v32,\n              nullptr,\n              (cocos2d::SEL_MenuHandler)__PAIR64__(BrowseSmartKeyLayer::onButton, (unsigned int)a1));\n      v33->setTag(v33, 3);\n      a1->m_buttonMenu->addChild(a1->m_buttonMenu, v33);\n      v34 = ButtonSprite::create(\n              (ButtonSprite *)\"Add\",\n              (const char *)&dword_18 + 1,\n              0,\n              0.5,\n              1,\n              \"goldFont.fnt\",\n              v50,\n              COERCE_CONST_CHAR_(30.0),\n              *(float *)&v50);\n      LODWORD(v65.x) = BrowseSmartKeyLayer::onButton;\n      v65.y = 0.0;\n      v35 = CCMenuItemSpriteExtra::create(\n              v34,\n              nullptr,\n              (cocos2d::SEL_MenuHandler)__PAIR64__(BrowseSmartKeyLayer::onButton, (unsigned int)a1));\n      v35->setTag(v35, 4);\n      a1->m_buttonMenu->addChild(a1->m_buttonMenu, v35);\n      v36 = a1->m_buttonMenu;\n      cocos2d::CCPoint::CCPoint(&v57, v53.width * 0.5, (float)((float)(v53.height * 0.5) - 140.0) + 24.0);\n      cocos2d::CCNode::convertToNodeSpace(&v55, v36, &v57);\n      v37 = v29->setPosition;\n      cocos2d::CCPoint::CCPoint(&v56, -100.0, 0.0);\n      cocos2d::CCPoint::operator+(&v57, &v55, &v56);\n      v37(v29, &v57);\n      v38 = v31->setPosition;\n      cocos2d::CCPoint::CCPoint(&v56, -50.0, 0.0);\n      cocos2d::CCPoint::operator+(&v57, &v55, &v56);\n      v38(v31, &v57);\n      v39 = v33->setPosition;\n      cocos2d::CCPoint::CCPoint(&v56, 50.0, 0.0);\n      cocos2d::CCPoint::operator+(&v57, &v55, &v56);\n      v39(v33, &v57);\n      v40 = v35->setPosition;\n      cocos2d::CCPoint::CCPoint(&v56, 100.0, 0.0);\n      cocos2d::CCPoint::operator+(&v57, &v55, &v56);\n      v40(v35, &v57);\n    }\n  }\n  return v51;\n}", "assembly": "; \n; BrowseSmartKeyLayer::init from 0x53f204 to 0x53f79c (1432 bytes)\n; \n; 1 xrefs:\n; > BrowseSmartKeyLayer::create @ 0x53f86e\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, 0x53f204\nMOV             R5, R1                                                 ; +0x4, 0x53f208\nLDR.W           R8, =(__stack_chk_guard_ptr - 0x53F21A)                ; +0x6, 0x53f20a\nMOVS            R1, #0x96; int                                         ; +0xa, 0x53f20e\nVPUSH           {D8-D11}                                               ; +0xc, 0x53f210\nMOV             R4, R0                                                 ; +0x10, 0x53f214\nADD             R8, PC; __stack_chk_guard_ptr                          ; +0x12, 0x53f216\nLDR.W           R8, [R8]; __stack_chk_guard                            ; +0x14, 0x53f218\nMOV             R6, R2                                                 ; +0x18, 0x53f21c\nLDR.W           R3, [R8]                                               ; +0x1a, 0x53f21e\nSUB             SP, SP, #0x7C                                          ; +0x1e, 0x53f222\nSTR             R3, [SP,#0x7C+var_8]                                   ; +0x20, 0x53f224\nBL              _ZN12FLAlertLayer4initEi; FLAlertLayer::init(int)      ; +0x22, 0x53f226\nSTR.W           R8, [SP,#0x7C+var_60]                                  ; +0x26, 0x53f22a\nSTR             R0, [SP,#0x7C+var_68]                                  ; +0x2a, 0x53f22e\nCMP             R0, #0                                                 ; +0x2c, 0x53f230\nBEQ.W           loc_53F758                                             ; +0x2e, 0x53f232\nADD.W           R8, R4, #0x208                                         ; +0x32, 0x53f236\nMOV             R1, R6                                                 ; +0x36, 0x53f23a\nMOV             R0, R8                                                 ; +0x38, 0x53f23c\nBL              sub_775D40                                             ; +0x3a, 0x53f23e\nMOV             R0, R4; this                                           ; +0x3e, 0x53f242\nBL              _ZN24BrowseSmartTemplateLayer9baseSetupEv; BrowseSmartTemplateLayer::baseSetup(void) ; +0x40, 0x53f244\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x44, 0x53f248\nMOV             R1, R0                                                 ; +0x48, 0x53f24c\nADD             R0, SP, #0x7C+var_58; this                             ; +0x4a, 0x53f24e\nBL              _ZN7cocos2d10CCDirector10getWinSizeEv; cocos2d::CCDirector::getWinSize(void) ; +0x4c, 0x53f250\nCBZ             R5, loc_53F260                                         ; +0x50, 0x53f254\nSTR.W           R5, [R4,#0x1F0]                                        ; +0x52, 0x53f256\nMOV             R0, R5; this                                           ; +0x56, 0x53f25a\nBL              _ZN7cocos2d8CCObject6retainEv; cocos2d::CCObject::retain(void) ; +0x58, 0x53f25c\nADD             R6, SP, #0x7C+var_18                                   ; +0x5c, 0x53f260\nLDR             R1, =(aHelp - 0x53F26C); \"Help\"                        ; +0x5e, 0x53f262\nADD             R2, SP, #0x7C+var_28                                   ; +0x60, 0x53f264\nADD             R5, SP, #0x7C+var_10                                   ; +0x62, 0x53f266\nADD             R1, PC; \"Help\"                                         ; +0x64, 0x53f268\nMOV             R0, R6; int                                            ; +0x66, 0x53f26a\nBL              sub_776584                                             ; +0x68, 0x53f26c\nLDR             R1, =(aUseCgAddCToGiv - 0x53F27A); \"Use <cg>Add</c> to give chance to the s\"... ; +0x6c, 0x53f270\nMOV             R0, R5; int                                            ; +0x6e, 0x53f272\nADD             R2, SP, #0x7C+var_20                                   ; +0x70, 0x53f274\nADD             R1, PC; \"Use <cg>Add</c> to give chance to the s\"...   ; +0x72, 0x53f276\nBL              sub_776584                                             ; +0x74, 0x53f278\nMOV             R0, R6                                                 ; +0x78, 0x53f27c\nMOV             R1, R5                                                 ; +0x7a, 0x53f27e\nMOV.W           R2, #0x3F800000                                        ; +0x7c, 0x53f280\nBL              _ZN15InfoAlertButton6createESsSsf; InfoAlertButton::create(std::string,std::string,float) ; +0x80, 0x53f284\nMOV             R7, R0                                                 ; +0x84, 0x53f288\nMOV             R0, R5                                                 ; +0x86, 0x53f28a\nBL              sub_774008                                             ; +0x88, 0x53f28c\nMOV             R0, R6                                                 ; +0x8c, 0x53f290\nBL              sub_774008                                             ; +0x8e, 0x53f292\nLDR.W           R0, [R4,#0x1B8]                                        ; +0x92, 0x53f296\nVMOV.F32        S16, #0.5                                              ; +0x96, 0x53f29a\nMOV             R1, R7                                                 ; +0x9a, 0x53f29e\nVLDR            S17, =140.0                                            ; +0x9c, 0x53f2a0\nLDR             R3, [R0]                                               ; +0xa0, 0x53f2a4\nLDR.W           R3, [R3,#0xDC]                                         ; +0xa2, 0x53f2a6\nBLX             R3                                                     ; +0xa6, 0x53f2aa\nVLDR            S14, [SP,#0x7C+var_58]                                 ; +0xa8, 0x53f2ac\nLDR             R3, [R7]                                               ; +0xac, 0x53f2b0\nMOV             R0, R6; this                                           ; +0xae, 0x53f2b2\nLDR.W           R10, [R4,#0x1B8]                                       ; +0xb0, 0x53f2b4\nVLDR            S15, =225.0                                            ; +0xb4, 0x53f2b8\nLDR.W           R9, [R3,#0x5C]                                         ; +0xb8, 0x53f2bc\nVLDR            S13, [SP,#0x7C+var_54]                                 ; +0xbc, 0x53f2c0\nVMLA.F32        S15, S14, S16                                          ; +0xc0, 0x53f2c4\nVMOV.F32        S12, S17                                               ; +0xc4, 0x53f2c8\nVMLA.F32        S12, S13, S16                                          ; +0xc8, 0x53f2cc\nVMOV.F32        S14, #18.0                                             ; +0xcc, 0x53f2d0\nVSUB.F32        S15, S15, S14                                          ; +0xd0, 0x53f2d4\nVMOV            R1, S15; float                                         ; +0xd4, 0x53f2d8\nVSUB.F32        S15, S12, S14                                          ; +0xd8, 0x53f2dc\nVMOV            R2, S15; float                                         ; +0xdc, 0x53f2e0\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xe0, 0x53f2e4\nMOV             R0, R5; this                                           ; +0xe4, 0x53f2e8\nMOV             R1, R10; cocos2d::CCPoint *                            ; +0xe6, 0x53f2ea\nMOV             R2, R6                                                 ; +0xe8, 0x53f2ec\nBL              _ZN7cocos2d6CCNode18convertToNodeSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const&) ; +0xea, 0x53f2ee\nMOV             R0, R7                                                 ; +0xee, 0x53f2f2\nMOV             R1, R5                                                 ; +0xf0, 0x53f2f4\nBLX             R9                                                     ; +0xf2, 0x53f2f6\nLDR.W           R3, [R4,#0x1F0]                                        ; +0xf4, 0x53f2f8\nCMP             R3, #0                                                 ; +0xf8, 0x53f2fc\nBEQ.W           loc_53F758                                             ; +0xfa, 0x53f2fe\nVLDR            S15, [SP,#0x7C+var_54]                                 ; +0xfe, 0x53f302\nMOV             R0, R5; this                                           ; +0x102, 0x53f306\nLDR.W           R6, [R4,#0x1B8]                                        ; +0x104, 0x53f308\nVMOV.F32        S14, S17                                               ; +0x108, 0x53f30c\nVMLA.F32        S14, S15, S16                                          ; +0x10c, 0x53f310\nVLDR            S15, [SP,#0x7C+var_58]                                 ; +0x110, 0x53f314\nVMUL.F32        S15, S15, S16                                          ; +0x114, 0x53f318\nVMOV            R1, S15; float                                         ; +0x118, 0x53f31c\nVLDR            S15, =50.0                                             ; +0x11c, 0x53f320\nVSUB.F32        S15, S14, S15                                          ; +0x120, 0x53f324\nVMOV            R2, S15; float                                         ; +0x124, 0x53f328\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x128, 0x53f32c\nMOV             R1, R6; cocos2d::CCPoint *                             ; +0x12c, 0x53f330\nADD             R0, SP, #0x7C+var_50; this                             ; +0x12e, 0x53f332\nMOV             R2, R5                                                 ; +0x130, 0x53f334\nBL              _ZN7cocos2d6CCNode18convertToNodeSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const&) ; +0x132, 0x53f336\nLDR.W           R6, [R4,#0x1F0]                                        ; +0x136, 0x53f33a\nMOV             R1, R8                                                 ; +0x13a, 0x53f33e\nMOV             R0, R5                                                 ; +0x13c, 0x53f340\nBL              sub_775C20                                             ; +0x13e, 0x53f342\nMOV             R1, R5                                                 ; +0x142, 0x53f346\nMOV             R0, R6                                                 ; +0x144, 0x53f348\nBL              _ZN15GJSmartTemplate10getPrefabsESs; GJSmartTemplate::getPrefabs(std::string) ; +0x146, 0x53f34a\nMOV             R9, R0                                                 ; +0x14a, 0x53f34e\nMOV             R0, R5                                                 ; +0x14c, 0x53f350\nBL              sub_774008                                             ; +0x14e, 0x53f352\nLDR.W           R6, [R4,#0x1F0]                                        ; +0x152, 0x53f356\nMOV             R1, R8                                                 ; +0x156, 0x53f35a\nMOV             R0, R5                                                 ; +0x158, 0x53f35c\nBL              sub_775C20                                             ; +0x15a, 0x53f35e\nMOV             R1, R5                                                 ; +0x15e, 0x53f362\nMOV             R0, R6                                                 ; +0x160, 0x53f364\nBL              _ZN15GJSmartTemplate23getTotalChanceForPrefabESs; GJSmartTemplate::getTotalChanceForPrefab(std::string) ; +0x162, 0x53f366\nSTR             R0, [SP,#0x7C+var_64]                                  ; +0x166, 0x53f36a\nMOV             R0, R5                                                 ; +0x168, 0x53f36c\nBL              sub_774008                                             ; +0x16a, 0x53f36e\nCMP.W           R9, #0                                                 ; +0x16e, 0x53f372\nBEQ             loc_53F382                                             ; +0x172, 0x53f376\nMOV             R0, R9; this                                           ; +0x174, 0x53f378\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x176, 0x53f37a\nSTR             R0, [SP,#0x7C+var_6C]                                  ; +0x17a, 0x53f37e\nB               loc_53F386                                             ; +0x17c, 0x53f380\nSTR.W           R9, [SP,#0x7C+var_6C]; float                           ; +0x17e, 0x53f382\nVLDR            S19, =60.0                                             ; +0x182, 0x53f386\nMOVS            R7, #0                                                 ; +0x186, 0x53f38a\nVLDR            S20, =210.0                                            ; +0x188, 0x53f38c\nVLDR            S21, =-60.0                                            ; +0x18c, 0x53f390\nLDR             R3, [SP,#0x7C+var_6C]                                  ; +0x190, 0x53f394\nCMP             R3, R7                                                 ; +0x192, 0x53f396\nBLT.W           loc_53F558                                             ; +0x194, 0x53f398\nADD             R5, SP, #0x7C+var_10                                   ; +0x198, 0x53f39c\nMOV             R1, R8                                                 ; +0x19a, 0x53f39e\nMOV             R0, R5                                                 ; +0x19c, 0x53f3a0\nBL              sub_775C20                                             ; +0x19e, 0x53f3a2\nMOV             R0, R5                                                 ; +0x1a2, 0x53f3a6\nBL              _ZN19GJSmartBlockPreview6createESs; GJSmartBlockPreview::create(std::string) ; +0x1a4, 0x53f3a8\nMOV             R6, R0                                                 ; +0x1a8, 0x53f3ac\nMOV             R0, R5                                                 ; +0x1aa, 0x53f3ae\nBL              sub_774008                                             ; +0x1ac, 0x53f3b0\nCMP             R7, #0                                                 ; +0x1b0, 0x53f3b4\nBLE             loc_53F42A                                             ; +0x1b2, 0x53f3b6\nSUBS            R1, R7, #1; unsigned int                               ; +0x1b4, 0x53f3b8\nMOV             R0, R9; this                                           ; +0x1b6, 0x53f3ba\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x1b8, 0x53f3bc\nMOV             R1, R8                                                 ; +0x1bc, 0x53f3c0\nMOV             R10, R0                                                ; +0x1be, 0x53f3c2\nMOV             R0, R5                                                 ; +0x1c0, 0x53f3c4\nBL              sub_775C20                                             ; +0x1c2, 0x53f3c6\nMOV             R0, R6                                                 ; +0x1c6, 0x53f3ca\nMOV             R1, R5                                                 ; +0x1c8, 0x53f3cc\nMOVS            R2, #1                                                 ; +0x1ca, 0x53f3ce\nBL              _ZN19GJSmartBlockPreview16addTemplateGuideESsi; GJSmartBlockPreview::addTemplateGuide(std::string,int) ; +0x1cc, 0x53f3d0\nADD.W           R11, SP, #0x7C+var_18                                  ; +0x1d0, 0x53f3d4\nMOV             R0, R5                                                 ; +0x1d4, 0x53f3d8\nBL              sub_774008                                             ; +0x1d6, 0x53f3da\nMOV             R1, R8                                                 ; +0x1da, 0x53f3de\nMOV             R0, R11                                                ; +0x1dc, 0x53f3e0\nBL              sub_775C20                                             ; +0x1de, 0x53f3e2\nMOV             R0, R5                                                 ; +0x1e2, 0x53f3e6\nADD.W           R1, R10, #0x38 ; '8'                                   ; +0x1e4, 0x53f3e8\nBL              sub_775C20                                             ; +0x1e8, 0x53f3ec\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x1ec, 0x53f3f0\nADD             R5, SP, #0x7C+var_10                                   ; +0x1f0, 0x53f3f4\nMOV             R3, R0                                                 ; +0x1f2, 0x53f3f6\nMOV             R1, R11                                                ; +0x1f4, 0x53f3f8\nMOV             R0, R6                                                 ; +0x1f6, 0x53f3fa\nMOV             R2, R5                                                 ; +0x1f8, 0x53f3fc\nLDR.W           R3, [R3,#0x170]                                        ; +0x1fa, 0x53f3fe\nBL              _ZN19GJSmartBlockPreview10addPreviewESsSsP16LevelEditorLayer; GJSmartBlockPreview::addPreview(std::string,std::string,LevelEditorLayer *) ; +0x1fe, 0x53f402\nMOV             R0, R5                                                 ; +0x202, 0x53f406\nBL              sub_774008                                             ; +0x204, 0x53f408\nMOV             R0, R11                                                ; +0x208, 0x53f40c\nBL              sub_774008                                             ; +0x20a, 0x53f40e\nLDR             R3, [SP,#0x7C+var_64]                                  ; +0x20e, 0x53f412\nLDR.W           R5, [R10,#0x3C]                                        ; +0x210, 0x53f414\nCMP             R3, #0                                                 ; +0x214, 0x53f418\nBLE             loc_53F444                                             ; +0x216, 0x53f41a\nMOV             R0, R6; this                                           ; +0x218, 0x53f41c\nLDR.W           R1, [R10,#0x40]; int                                   ; +0x21a, 0x53f41e\nMOV             R2, R3; int                                            ; +0x21e, 0x53f422\nBL              _ZN19GJSmartBlockPreview9addChanceEii; GJSmartBlockPreview::addChance(int,int) ; +0x220, 0x53f424\nB               loc_53F444                                             ; +0x224, 0x53f428\nMOV             R1, R8                                                 ; +0x226, 0x53f42a\nMOV             R0, R5                                                 ; +0x228, 0x53f42c\nBL              sub_775C20                                             ; +0x22a, 0x53f42e\nMOV             R0, R6                                                 ; +0x22e, 0x53f432\nMOV             R1, R5                                                 ; +0x230, 0x53f434\nMOVS            R2, #2                                                 ; +0x232, 0x53f436\nBL              _ZN19GJSmartBlockPreview16addTemplateGuideESsi; GJSmartBlockPreview::addTemplateGuide(std::string,int) ; +0x234, 0x53f438\nMOV             R0, R5                                                 ; +0x238, 0x53f43c\nMOVS            R5, #0                                                 ; +0x23a, 0x53f43e\nBL              sub_774008                                             ; +0x23c, 0x53f440\nLDR             R3, [R6]                                               ; +0x240, 0x53f444\nMOV             R0, R6                                                 ; +0x242, 0x53f446\nMOV.W           R1, #0x3F000000                                        ; +0x244, 0x53f448\nADD.W           R11, SP, #0x7C+var_10                                  ; +0x248, 0x53f44c\nLDR             R3, [R3,#0x50]                                         ; +0x24c, 0x53f450\nBLX             R3                                                     ; +0x24e, 0x53f452\nLDR             R3, =(_ZN19BrowseSmartKeyLayer14onPrefabObjectEPN7cocos2d8CCObjectE_ptr - 0x53F45E) ; +0x250, 0x53f454\nMOV             R2, R4                                                 ; +0x252, 0x53f456\nMOVS            R1, #0                                                 ; +0x254, 0x53f458\nADD             R3, PC; _ZN19BrowseSmartKeyLayer14onPrefabObjectEPN7cocos2d8CCObjectE_ptr ; +0x256, 0x53f45a\nLDR             R3, [R3]; BrowseSmartKeyLayer::onPrefabObject(cocos2d::CCObject *) ; +0x258, 0x53f45c\nSTR             R1, [SP,#0x7C+var_7C]                                  ; +0x25a, 0x53f45e\nMOV             R0, R6                                                 ; +0x25c, 0x53f460\nSTR             R3, [SP,#0x7C+var_30]                                  ; +0x25e, 0x53f462\nSTR             R1, [SP,#0x7C+var_2C]                                  ; +0x260, 0x53f464\nBL              _ZN21CCMenuItemSpriteExtra6createEPN7cocos2d6CCNodeES2_PNS0_8CCObjectEMS3_FvS4_E; CCMenuItemSpriteExtra::create(cocos2d::CCNode *,cocos2d::CCNode *,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x262, 0x53f466\nMOV             R10, R0                                                ; +0x266, 0x53f46a\nLDR.W           R0, [R4,#0x1B8]                                        ; +0x268, 0x53f46c\nMOV             R1, R10                                                ; +0x26c, 0x53f470\nLDR             R3, [R0]                                               ; +0x26e, 0x53f472\nLDR.W           R3, [R3,#0xDC]                                         ; +0x270, 0x53f474\nBLX             R3                                                     ; +0x274, 0x53f478\nLDR             R3, [R6]                                               ; +0x276, 0x53f47a\nMOV             R0, R6                                                 ; +0x278, 0x53f47c\nMOV             R1, R5                                                 ; +0x27a, 0x53f47e\nLDR             R3, [R3,#0x24]                                         ; +0x27c, 0x53f480\nBLX             R3                                                     ; +0x27e, 0x53f482\nLDR.W           R3, [R10]                                              ; +0x280, 0x53f484\nMOV             R1, R5                                                 ; +0x284, 0x53f488\nMOV             R0, R10                                                ; +0x286, 0x53f48a\nMOVS            R5, #0x1C                                              ; +0x288, 0x53f48c\nLDR             R3, [R3,#0x24]                                         ; +0x28a, 0x53f48e\nBLX             R3                                                     ; +0x28c, 0x53f490\nMOVS            R1, #0x1C                                              ; +0x28e, 0x53f492\nMOV             R0, R7                                                 ; +0x290, 0x53f494\nBLX             __aeabi_idiv                                           ; +0x292, 0x53f496\nVMOV            S15, R0                                                ; +0x296, 0x53f49a\nVCVT.F32.S32    S15, S15                                               ; +0x29a, 0x53f49e\nVMOV            R0, S15; x                                             ; +0x29e, 0x53f4a2\nBLX             floorf                                                 ; +0x2a2, 0x53f4a6\nMOVS            R1, #7                                                 ; +0x2a6, 0x53f4aa\nVMOV            S15, R0                                                ; +0x2a8, 0x53f4ac\nVCVT.S32.F32    S18, S15                                               ; +0x2ac, 0x53f4b0\nVMOV            R3, S18                                                ; +0x2b0, 0x53f4b4\nMLS             R5, R5, R3, R7                                         ; +0x2b4, 0x53f4b8\nLDR.W           R3, [R10]                                              ; +0x2b8, 0x53f4bc\nADDS            R7, #1                                                 ; +0x2bc, 0x53f4c0\nLDR             R6, [R3,#0x5C]                                         ; +0x2be, 0x53f4c2\nMOV             R0, R5                                                 ; +0x2c0, 0x53f4c4\nBLX             __aeabi_idiv                                           ; +0x2c2, 0x53f4c6\nVMOV            S15, R0                                                ; +0x2c6, 0x53f4ca\nVCVT.F32.S32    S15, S15                                               ; +0x2ca, 0x53f4ce\nVMOV            R0, S15; x                                             ; +0x2ce, 0x53f4d2\nBLX             floorf                                                 ; +0x2d2, 0x53f4d6\nMOVS            R1, #7                                                 ; +0x2d6, 0x53f4da\nVMOV            S22, R0                                                ; +0x2d8, 0x53f4dc\nMOV             R0, R5                                                 ; +0x2dc, 0x53f4e0\nBLX             __aeabi_idivmod                                        ; +0x2de, 0x53f4e2\nVMOV.F32        S14, S20                                               ; +0x2e2, 0x53f4e6\nADD             R5, SP, #0x7C+var_18                                   ; +0x2e6, 0x53f4ea\nMOV             R0, R5; this                                           ; +0x2e8, 0x53f4ec\nVMOV            S15, R1                                                ; +0x2ea, 0x53f4ee\nVCVT.F32.S32    S15, S15                                               ; +0x2ee, 0x53f4f2\nVNMLS.F32       S14, S15, S19                                          ; +0x2f2, 0x53f4f6\nVMOV.F32        S15, #30.0                                             ; +0x2f6, 0x53f4fa\nVADD.F32        S15, S14, S15                                          ; +0x2fa, 0x53f4fe\nVMOV            R1, S15; float                                         ; +0x2fe, 0x53f502\nVMUL.F32        S15, S22, S21                                          ; +0x302, 0x53f506\nVMOV            R2, S15; float                                         ; +0x306, 0x53f50a\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x30a, 0x53f50e\nMOV             R2, R5                                                 ; +0x30e, 0x53f512\nMOV             R0, R11                                                ; +0x310, 0x53f514\nADD             R1, SP, #0x7C+var_50                                   ; +0x312, 0x53f516\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x314, 0x53f518\nMOV             R0, R10                                                ; +0x318, 0x53f51c\nMOV             R1, R11                                                ; +0x31a, 0x53f51e\nBLX             R6                                                     ; +0x31c, 0x53f520\nMOV             R0, R4; this                                           ; +0x31e, 0x53f522\nMOV             R1, R10; cocos2d::CCObject *                           ; +0x320, 0x53f524\nVMOV            R2, S18; int                                           ; +0x322, 0x53f526\nBL              _ZN24BrowseSmartTemplateLayer15addObjectToPageEPN7cocos2d8CCObjectEi; BrowseSmartTemplateLayer::addObjectToPage(cocos2d::CCObject *,int) ; +0x326, 0x53f52a\nB               loc_53F394                                             ; +0x32a, 0x53f52e\nDCFS 140.0                                                             ; +0x32c, 0x53f530\nDCFS 225.0                                                             ; +0x330, 0x53f534\nDCFS 50.0                                                              ; +0x334, 0x53f538\nDCFS 60.0                                                              ; +0x338, 0x53f53c\nDCFS 210.0                                                             ; +0x33c, 0x53f540\nDCFS -60.0                                                             ; +0x340, 0x53f544\nDCD __stack_chk_guard_ptr - 0x53F21A                                   ; +0x344, 0x53f548\nDCD aHelp - 0x53F26C                                                   ; +0x348, 0x53f54c\nDCD aUseCgAddCToGiv - 0x53F27A                                         ; +0x34c, 0x53f550\nDCD _ZN19BrowseSmartKeyLayer14onPrefabObjectEPN7cocos2d8CCObjectE_ptr - 0x53F45E ; +0x350, 0x53f554\nVMOV.F32        S18, #30.0                                             ; +0x354, 0x53f558\nMOV             R0, R4; this                                           ; +0x358, 0x53f55c\nMOVS            R1, #0; int                                            ; +0x35a, 0x53f55e\nLDR.W           R11, =(aGoldfontFnt - 0x53F574); \"goldFont.fnt\"        ; +0x35c, 0x53f560\nBL              _ZN24BrowseSmartTemplateLayer8goToPageEi; BrowseSmartTemplateLayer::goToPage(int) ; +0x360, 0x53f564\nLDR             R3, =(aGjButton01Png - 0x53F578); \"GJ_button_01.png\"   ; +0x364, 0x53f568\nLDR             R0, =(aCreate - 0x53F588); \"Create\"                    ; +0x366, 0x53f56a\nMOVS            R7, #1                                                 ; +0x368, 0x53f56c\nLDR             R6, =(_ZN19BrowseSmartKeyLayer8onButtonEPN7cocos2d8CCObjectE_ptr - 0x53F594) ; +0x36a, 0x53f56e\nADD             R11, PC; \"goldFont.fnt\"                                ; +0x36c, 0x53f570\nSTR             R7, [SP,#0x7C+var_7C]; float                           ; +0x36e, 0x53f572\nADD             R3, PC; \"GJ_button_01.png\"                             ; +0x370, 0x53f574\nSTR.W           R11, [SP,#0x7C+var_78]; char *                         ; +0x372, 0x53f576\nMOVS            R1, #(dword_18+1); char *                              ; +0x376, 0x53f57a\nSTR             R3, [SP,#0x7C+var_74]; char *                          ; +0x378, 0x53f57c\nMOVS            R2, #0; int                                            ; +0x37a, 0x53f57e\nMOV.W           R3, #0x3F000000; int                                   ; +0x37c, 0x53f580\nADD             R0, PC; \"Create\"                                       ; +0x380, 0x53f584\nMOVS            R5, #0                                                 ; +0x382, 0x53f586\nVSTR            S18, [SP,#0x7C+var_70]                                 ; +0x384, 0x53f588\nBL              _ZN12ButtonSprite6createEPKciifbS1_S1_f; ButtonSprite::create(char const*,int,int,float,bool,char const*,char const*,float) ; +0x388, 0x53f58c\nADD             R6, PC; _ZN19BrowseSmartKeyLayer8onButtonEPN7cocos2d8CCObjectE_ptr ; +0x38c, 0x53f590\nLDR             R6, [R6]; BrowseSmartKeyLayer::onButton(cocos2d::CCObject *) ; +0x38e, 0x53f592\nMOV             R2, R4                                                 ; +0x390, 0x53f594\nMOV             R1, R5                                                 ; +0x392, 0x53f596\nMOV             R3, R6                                                 ; +0x394, 0x53f598\nSTR             R5, [SP,#0x7C+var_7C]; float                           ; +0x396, 0x53f59a\nSTR             R6, [SP,#0x7C+var_28]                                  ; +0x398, 0x53f59c\nSTR             R5, [SP,#0x7C+var_24]                                  ; +0x39a, 0x53f59e\nBL              _ZN21CCMenuItemSpriteExtra6createEPN7cocos2d6CCNodeES2_PNS0_8CCObjectEMS3_FvS4_E; CCMenuItemSpriteExtra::create(cocos2d::CCNode *,cocos2d::CCNode *,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x39c, 0x53f5a0\nMOV             R1, R7                                                 ; +0x3a0, 0x53f5a4\nLDR             R3, [R0]                                               ; +0x3a2, 0x53f5a6\nMOV             R10, R0                                                ; +0x3a4, 0x53f5a8\nLDR             R3, [R3,#0x24]                                         ; +0x3a6, 0x53f5aa\nBLX             R3                                                     ; +0x3a8, 0x53f5ac\nLDR.W           R0, [R4,#0x1B8]                                        ; +0x3aa, 0x53f5ae\nMOV             R1, R10                                                ; +0x3ae, 0x53f5b2\nLDR             R3, [R0]                                               ; +0x3b0, 0x53f5b4\nLDR.W           R3, [R3,#0xDC]                                         ; +0x3b2, 0x53f5b6\nBLX             R3                                                     ; +0x3b6, 0x53f5ba\nLDR             R3, =(aGjButton05Png - 0x53F5CA); \"GJ_button_05.png\"   ; +0x3b8, 0x53f5bc\nLDR             R0, =(aDelete - 0x53F5D8); \"Delete\"                    ; +0x3ba, 0x53f5be\nMOV             R2, R5; int                                            ; +0x3bc, 0x53f5c0\nSTMEA.W         SP, {R7,R11}                                           ; +0x3be, 0x53f5c2\nADD             R3, PC; \"GJ_button_05.png\"                             ; +0x3c2, 0x53f5c6\nMOVS            R1, #(dword_18+1); char *                              ; +0x3c4, 0x53f5c8\nSTR             R3, [SP,#0x7C+var_74]; char *                          ; +0x3c6, 0x53f5ca\nVSTR            S18, [SP,#0x7C+var_70]                                 ; +0x3c8, 0x53f5cc\nMOV.W           R3, #0x3F000000; int                                   ; +0x3cc, 0x53f5d0\nADD             R0, PC; \"Delete\"                                       ; +0x3d0, 0x53f5d4\nBL              _ZN12ButtonSprite6createEPKciifbS1_S1_f; ButtonSprite::create(char const*,int,int,float,bool,char const*,char const*,float) ; +0x3d2, 0x53f5d6\nMOV             R2, R4                                                 ; +0x3d6, 0x53f5da\nMOV             R3, R6                                                 ; +0x3d8, 0x53f5dc\nMOV             R1, R5                                                 ; +0x3da, 0x53f5de\nSTR             R5, [SP,#0x7C+var_7C]; float                           ; +0x3dc, 0x53f5e0\nSTR             R6, [SP,#0x7C+var_20]                                  ; +0x3de, 0x53f5e2\nSTR             R5, [SP,#0x7C+var_1C]                                  ; +0x3e0, 0x53f5e4\nBL              _ZN21CCMenuItemSpriteExtra6createEPN7cocos2d6CCNodeES2_PNS0_8CCObjectEMS3_FvS4_E; CCMenuItemSpriteExtra::create(cocos2d::CCNode *,cocos2d::CCNode *,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x3e2, 0x53f5e6\nMOVS            R1, #2                                                 ; +0x3e6, 0x53f5ea\nLDR             R3, [R0]                                               ; +0x3e8, 0x53f5ec\nMOV             R9, R0                                                 ; +0x3ea, 0x53f5ee\nLDR             R3, [R3,#0x24]                                         ; +0x3ec, 0x53f5f0\nBLX             R3                                                     ; +0x3ee, 0x53f5f2\nLDR.W           R0, [R4,#0x1B8]                                        ; +0x3f0, 0x53f5f4\nMOV             R1, R9                                                 ; +0x3f4, 0x53f5f8\nLDR             R3, [R0]                                               ; +0x3f6, 0x53f5fa\nLDR.W           R3, [R3,#0xDC]                                         ; +0x3f8, 0x53f5fc\nBLX             R3                                                     ; +0x3fc, 0x53f600\nLDR.W           R12, =(aGjButton02Png - 0x53F60E); \"GJ_button_02.png\"  ; +0x3fe, 0x53f602\nLDR             R0, =(aZero - 0x53F622); \"Zero\"                        ; +0x402, 0x53f606\nMOV             R2, R5; int                                            ; +0x404, 0x53f608\nADD             R12, PC; \"GJ_button_02.png\"                            ; +0x406, 0x53f60a\nSTMEA.W         SP, {R7,R11}                                           ; +0x408, 0x53f60c\nSTR.W           R12, [SP,#0x7C+var_74]; char *                         ; +0x40c, 0x53f610\nMOVS            R1, #(dword_18+1); char *                              ; +0x410, 0x53f614\nMOV.W           R3, #0x3F000000; int                                   ; +0x412, 0x53f616\nVSTR            S18, [SP,#0x7C+var_70]                                 ; +0x416, 0x53f61a\nADD             R0, PC; \"Zero\"                                         ; +0x41a, 0x53f61e\nSTR.W           R12, [SP,#0x7C+var_6C]; float                          ; +0x41c, 0x53f620\nBL              _ZN12ButtonSprite6createEPKciifbS1_S1_f; ButtonSprite::create(char const*,int,int,float,bool,char const*,char const*,float) ; +0x420, 0x53f624\nMOV             R2, R4                                                 ; +0x424, 0x53f628\nMOV             R3, R6                                                 ; +0x426, 0x53f62a\nMOV             R1, R5                                                 ; +0x428, 0x53f62c\nSTR             R5, [SP,#0x7C+var_7C]; float                           ; +0x42a, 0x53f62e\nSTR             R6, [SP,#0x7C+var_18]                                  ; +0x42c, 0x53f630\nSTR             R5, [SP,#0x7C+var_14]                                  ; +0x42e, 0x53f632\nBL              _ZN21CCMenuItemSpriteExtra6createEPN7cocos2d6CCNodeES2_PNS0_8CCObjectEMS3_FvS4_E; CCMenuItemSpriteExtra::create(cocos2d::CCNode *,cocos2d::CCNode *,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x430, 0x53f634\nMOVS            R1, #3                                                 ; +0x434, 0x53f638\nLDR             R3, [R0]                                               ; +0x436, 0x53f63a\nMOV             R8, R0                                                 ; +0x438, 0x53f63c\nLDR             R3, [R3,#0x24]                                         ; +0x43a, 0x53f63e\nBLX             R3                                                     ; +0x43c, 0x53f640\nLDR.W           R0, [R4,#0x1B8]                                        ; +0x43e, 0x53f642\nMOV             R1, R8                                                 ; +0x442, 0x53f646\nLDR             R3, [R0]                                               ; +0x444, 0x53f648\nLDR.W           R3, [R3,#0xDC]                                         ; +0x446, 0x53f64a\nBLX             R3                                                     ; +0x44a, 0x53f64e\nLDR.W           R12, [SP,#0x7C+var_6C]                                 ; +0x44c, 0x53f650\nLDR             R0, =(aAdd - 0x53F66E); \"Add\"                          ; +0x450, 0x53f654\nMOV             R2, R5; int                                            ; +0x452, 0x53f656\nSTMEA.W         SP, {R7,R11}                                           ; +0x454, 0x53f658\nMOVS            R1, #(dword_18+1); char *                              ; +0x458, 0x53f65c\nSTR.W           R12, [SP,#0x7C+var_74]; char *                         ; +0x45a, 0x53f65e\nMOV.W           R3, #0x3F000000; int                                   ; +0x45e, 0x53f662\nVSTR            S18, [SP,#0x7C+var_70]                                 ; +0x462, 0x53f666\nADD             R0, PC; \"Add\"                                          ; +0x466, 0x53f66a\nBL              _ZN12ButtonSprite6createEPKciifbS1_S1_f; ButtonSprite::create(char const*,int,int,float,bool,char const*,char const*,float) ; +0x468, 0x53f66c\nMOV             R2, R4                                                 ; +0x46c, 0x53f670\nMOV             R3, R6                                                 ; +0x46e, 0x53f672\nMOV             R1, R5                                                 ; +0x470, 0x53f674\nSTR             R5, [SP,#0x7C+var_7C]                                  ; +0x472, 0x53f676\nSTR             R6, [SP,#0x7C+var_10]                                  ; +0x474, 0x53f678\nADD             R6, SP, #0x7C+var_48                                   ; +0x476, 0x53f67a\nSTR             R5, [SP,#0x7C+var_C]                                   ; +0x478, 0x53f67c\nBL              _ZN21CCMenuItemSpriteExtra6createEPN7cocos2d6CCNodeES2_PNS0_8CCObjectEMS3_FvS4_E; CCMenuItemSpriteExtra::create(cocos2d::CCNode *,cocos2d::CCNode *,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x47a, 0x53f67e\nMOVS            R1, #4                                                 ; +0x47e, 0x53f682\nLDR             R3, [R0]                                               ; +0x480, 0x53f684\nMOV             R7, R0                                                 ; +0x482, 0x53f686\nLDR             R3, [R3,#0x24]                                         ; +0x484, 0x53f688\nBLX             R3                                                     ; +0x486, 0x53f68a\nLDR.W           R0, [R4,#0x1B8]                                        ; +0x488, 0x53f68c\nMOV             R1, R7                                                 ; +0x48c, 0x53f690\nLDR             R3, [R0]                                               ; +0x48e, 0x53f692\nLDR.W           R3, [R3,#0xDC]                                         ; +0x490, 0x53f694\nBLX             R3                                                     ; +0x494, 0x53f698\nVLDR            S15, [SP,#0x7C+var_54]                                 ; +0x496, 0x53f69a\nLDR.W           R5, [R4,#0x1B8]                                        ; +0x49a, 0x53f69e\nADD             R4, SP, #0x7C+var_38                                   ; +0x49e, 0x53f6a2\nMOV             R0, R4; this                                           ; +0x4a0, 0x53f6a4\nVNMLS.F32       S17, S15, S16                                          ; +0x4a2, 0x53f6a6\nVLDR            S15, [SP,#0x7C+var_58]                                 ; +0x4a6, 0x53f6aa\nVMUL.F32        S15, S15, S16                                          ; +0x4aa, 0x53f6ae\nVMOV            R1, S15; float                                         ; +0x4ae, 0x53f6b2\nVMOV.F32        S15, #24.0                                             ; +0x4b2, 0x53f6b6\nVADD.F32        S15, S17, S15                                          ; +0x4b6, 0x53f6ba\nVMOV            R2, S15; float                                         ; +0x4ba, 0x53f6be\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x4be, 0x53f6c2\nMOV             R1, R5; cocos2d::CCPoint *                             ; +0x4c2, 0x53f6c6\nMOV             R0, R6; this                                           ; +0x4c4, 0x53f6c8\nMOV             R2, R4                                                 ; +0x4c6, 0x53f6ca\nADD             R5, SP, #0x7C+var_40                                   ; +0x4c8, 0x53f6cc\nBL              _ZN7cocos2d6CCNode18convertToNodeSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const&) ; +0x4ca, 0x53f6ce\nLDR.W           R3, [R10]                                              ; +0x4ce, 0x53f6d2\nMOVS            R2, #0; float                                          ; +0x4d2, 0x53f6d6\nLDR             R1, flt_53F79C; float                                  ; +0x4d4, 0x53f6d8\nMOV             R0, R5; this                                           ; +0x4d6, 0x53f6da\nLDR.W           R11, [R3,#0x5C]                                        ; +0x4d8, 0x53f6dc\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x4dc, 0x53f6e0\nMOV             R2, R5                                                 ; +0x4e0, 0x53f6e4\nMOV             R0, R4                                                 ; +0x4e2, 0x53f6e6\nMOV             R1, R6                                                 ; +0x4e4, 0x53f6e8\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x4e6, 0x53f6ea\nMOV             R0, R10                                                ; +0x4ea, 0x53f6ee\nMOV             R1, R4                                                 ; +0x4ec, 0x53f6f0\nBLX             R11                                                    ; +0x4ee, 0x53f6f2\nLDR.W           R3, [R9]                                               ; +0x4f0, 0x53f6f4\nLDR             R1, flt_53F7A0; float                                  ; +0x4f4, 0x53f6f8\nMOVS            R2, #0; float                                          ; +0x4f6, 0x53f6fa\nMOV             R0, R5; this                                           ; +0x4f8, 0x53f6fc\nLDR.W           R10, [R3,#0x5C]                                        ; +0x4fa, 0x53f6fe\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x4fe, 0x53f702\nMOV             R2, R5                                                 ; +0x502, 0x53f706\nMOV             R0, R4                                                 ; +0x504, 0x53f708\nMOV             R1, R6                                                 ; +0x506, 0x53f70a\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x508, 0x53f70c\nMOV             R0, R9                                                 ; +0x50c, 0x53f710\nMOV             R1, R4                                                 ; +0x50e, 0x53f712\nBLX             R10                                                    ; +0x510, 0x53f714\nLDR.W           R3, [R8]                                               ; +0x512, 0x53f716\nLDR             R1, flt_53F7A4; float                                  ; +0x516, 0x53f71a\nMOVS            R2, #0; float                                          ; +0x518, 0x53f71c\nMOV             R0, R5; this                                           ; +0x51a, 0x53f71e\nLDR.W           R9, [R3,#0x5C]                                         ; +0x51c, 0x53f720\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x520, 0x53f724\nMOV             R2, R5                                                 ; +0x524, 0x53f728\nMOV             R0, R4                                                 ; +0x526, 0x53f72a\nMOV             R1, R6                                                 ; +0x528, 0x53f72c\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x52a, 0x53f72e\nMOV             R0, R8                                                 ; +0x52e, 0x53f732\nMOV             R1, R4                                                 ; +0x530, 0x53f734\nBLX             R9                                                     ; +0x532, 0x53f736\nLDR             R3, [R7]                                               ; +0x534, 0x53f738\nLDR             R1, flt_53F7A8; float                                  ; +0x536, 0x53f73a\nMOVS            R2, #0; float                                          ; +0x538, 0x53f73c\nMOV             R0, R5; this                                           ; +0x53a, 0x53f73e\nLDR.W           R8, [R3,#0x5C]                                         ; +0x53c, 0x53f740\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x540, 0x53f744\nMOV             R0, R4                                                 ; +0x544, 0x53f748\nMOV             R1, R6                                                 ; +0x546, 0x53f74a\nMOV             R2, R5                                                 ; +0x548, 0x53f74c\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x54a, 0x53f74e\nMOV             R0, R7                                                 ; +0x54e, 0x53f752\nMOV             R1, R4                                                 ; +0x550, 0x53f754\nBLX             R8                                                     ; +0x552, 0x53f756\nLDR             R3, [SP,#0x7C+var_60]                                  ; +0x554, 0x53f758\nLDR             R2, [SP,#0x7C+var_8]                                   ; +0x556, 0x53f75a\nLDR             R0, [SP,#0x7C+var_68]                                  ; +0x558, 0x53f75c\nLDR             R3, [R3]                                               ; +0x55a, 0x53f75e\nCMP             R2, R3                                                 ; +0x55c, 0x53f760\nBEQ             loc_53F792                                             ; +0x55e, 0x53f762\nBLX             __stack_chk_fail                                       ; +0x560, 0x53f764\nMOV             R0, R5                                                 ; +0x564, 0x53f768\nBL              sub_774008                                             ; +0x566, 0x53f76a\nB               loc_53F770                                             ; +0x56a, 0x53f76e\nMOV             R0, R6                                                 ; +0x56c, 0x53f770\nB               loc_53F776                                             ; +0x56e, 0x53f772\nMOV             R0, R5                                                 ; +0x570, 0x53f774\nBL              sub_774008                                             ; +0x572, 0x53f776\nBL              __cxa_end_cleanup                                      ; +0x576, 0x53f77a\nB               loc_53F774                                             ; +0x57a, 0x53f77e\nB               loc_53F774                                             ; +0x57c, 0x53f780\nB               loc_53F774                                             ; +0x57e, 0x53f782\nADD             R0, SP, #0x7C+var_10                                   ; +0x580, 0x53f784\nBL              sub_774008                                             ; +0x582, 0x53f786\nB               loc_53F78C                                             ; +0x586, 0x53f78a\nADD             R0, SP, #0x7C+var_18                                   ; +0x588, 0x53f78c\nB               loc_53F776                                             ; +0x58a, 0x53f78e\nB               loc_53F774                                             ; +0x58c, 0x53f790\nADD             SP, SP, #0x7C ; '|'                                    ; +0x58e, 0x53f792\nVPOP            {D8-D11}                                               ; +0x590, 0x53f794\nPOP.W           {R4-R11,PC}                                            ; +0x594, 0x53f798", "xrefs": ["BrowseSmartKeyLayer::create @ 0x53f86e"], "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"}