{"type": "func", "start": 4408824, "end": 4409650, "name": "GJGroundLayer::init", "pseudocode": "// \n// GJGroundLayer::init from 0x4345f8 to 0x434932 (826 bytes)\n// \n// 1 xrefs:\n// > GJGroundLayer::create @ 0x4349d4\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\nbool GJGroundLayer::init(GJGroundLayer *a1, int a2, int a3)\n{\n  cocos2d::CCDirector *v6; // r0\n  GameManager *v7; // r0\n  const char *GTexture; // r0\n  const char *v9; // r11\n  cocos2d::CCSprite *v10; // r6\n  void (__fastcall *setAnchorPoint)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r8\n  void (__fastcall *setPosition)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r8\n  cocos2d::CCDirector *v13; // r0\n  float v14; // r0\n  cocos2d::CCSprite *v15; // r5\n  void (__fastcall *v16)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r8\n  void (__fastcall *v17)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r8\n  cocos2d::CCDirector *v18; // r0\n  float v19; // r0\n  cocos2d::CCSprite_vtbl *v20; // r2\n  cocos2d::CCSpriteBatchNode *v21; // r11\n  int v22; // r0\n  float width; // s14\n  float v24; // s15\n  float v25; // r0\n  cocos2d::CCTexture2D *(__fastcall *getTexture)(cocos2d::CCSpriteBatchNode *__hidden); // r2\n  cocos2d::CCTexture2D *v27; // r0\n  cocos2d::CCSprite *v28; // r0\n  cocos2d::CCSprite_vtbl *v29; // r2\n  void (__fastcall *v30)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r6\n  cocos2d::CCSpriteBatchNode_vtbl *v31; // r3\n  cocos2d::CCString *v32; // r0\n  const char *CString; // r0\n  cocos2d::CCSpriteBatchNode *v34; // r10\n  cocos2d::CCTexture2D *v35; // r0\n  cocos2d::CCSprite *v36; // r0\n  cocos2d::CCSprite_vtbl *v37; // r3\n  cocos2d::CCSprite *v38; // r8\n  void (__fastcall *v39)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r9\n  _BOOL4 v41; // [sp+0h] [bp-44h]\n  int v42; // [sp+4h] [bp-40h]\n  cocos2d::CCSprite *v43; // [sp+Ch] [bp-38h]\n  int v44; // [sp+10h] [bp-34h] BYREF\n  cocos2d::CCSize v45; // [sp+14h] [bp-30h] BYREF\n  int v46; // [sp+1Ch] [bp-28h]\n  int v47; // [sp+20h] [bp-24h]\n  float v48[4]; // [sp+24h] [bp-20h] BYREF\n  cocos2d::CCPoint v49; // [sp+34h] [bp-10h] BYREF\n\n  v41 = cocos2d::CCLayer::init(a1);\n  if ( v41 )\n  {\n    a1->setContentSize(a1, &stru_AC6524);\n    v6 = cocos2d::CCDirector::sharedDirector();\n    cocos2d::CCDirector::getWinSize(&v45, v6);\n    v7 = GameManager::sharedState();\n    GTexture = GameManager::getGTexture(v7, a2);\n    a1->m_blendLine = 1;\n    v9 = GTexture;\n    GJGroundLayer::createLine(a1, a3);\n    v10 = cocos2d::CCSprite::createWithSpriteFrameName(\"groundSquareShadow_001.png\");\n    setAnchorPoint = v10->setAnchorPoint;\n    cocos2d::CCPoint::CCPoint(&v49, 0.0, 1.0);\n    setAnchorPoint(v10, &v49);\n    setPosition = v10->setPosition;\n    v13 = cocos2d::CCDirector::sharedDirector();\n    v14 = COERCE_FLOAT(cocos2d::CCDirector::getScreenLeft(v13));\n    cocos2d::CCPoint::CCPoint(&v49, v14 - 1.0, 0.0);\n    setPosition(v10, &v49);\n    a1->addChild_0(a1, v10, 6);\n    v10->setTag(v10, 0);\n    v15 = cocos2d::CCSprite::createWithSpriteFrameName(\"groundSquareShadow_001.png\");\n    v16 = v15->setAnchorPoint;\n    cocos2d::CCPoint::CCPoint(&v49, 1.0, 1.0);\n    v16(v15, &v49);\n    v17 = v15->setPosition;\n    v18 = cocos2d::CCDirector::sharedDirector();\n    v19 = COERCE_FLOAT(cocos2d::CCDirector::getScreenRight(v18));\n    cocos2d::CCPoint::CCPoint(&v49, v19 + 1.0, 0.0);\n    v17(v15, &v49);\n    a1->addChild_0(a1, v15, 6);\n    cocos2d::CCSprite::setFlipX(v15, 1);\n    v15->setTag(v15, 1);\n    v10->setOpacity(v10, 100);\n    v15->setOpacity(v15, 100);\n    ((void (__fastcall *)(cocos2d::CCSprite *, int))v10->setScaleX)(v10, 1060320051);\n    ((void (__fastcall *)(cocos2d::CCSprite *, int))v15->setScaleX)(v15, 1060320051);\n    v20 = v10->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    v46 = 774;\n    v47 = 771;\n    ((void (__fastcall *)(cocos2d::CCSprite *, int, int))v20->setBlendFunc)(v10, 774, 771);\n    ((void (__fastcall *)(cocos2d::CCSprite *, int, int))v15->setBlendFunc)(v15, v46, v47);\n    a1->m_showGround = 0;\n    LOBYTE(v44) = 0;\n    *(_WORD *)((char *)&v44 + 1) = -154;\n    v21 = cocos2d::CCSpriteBatchNode::create(v9, (unsigned int)&dword_1C + 1);\n    a1->addChild_0(a1, v21, 2);\n    v22 = (int)v21->getTexture(v21);\n    (*(void (__fastcall **)(float *, int))(*(_DWORD *)v22 + 72))(v48, v22);\n    width = v45.width;\n    v24 = v48[0];\n    a1->m_textureWidth = v48[0];\n    v25 = ceilf(width / v24);\n    getTexture = v21->getTexture;\n    v42 = (int)(v25 + 1.0);\n    a1->m_ground1Offset = 128.0 - v48[1];\n    v27 = getTexture(v21);\n    v28 = cocos2d::CCSprite::createWithTexture(v27);\n    v29 = v28->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    a1->m_ground1Sprite = v28;\n    v43 = v28;\n    v30 = v29->setPosition;\n    v28->m_bDontDraw = 1;\n    cocos2d::CCPoint::CCPoint(&v49, 0.0, 0.0);\n    v30(v43, &v49);\n    a1->m_ground1Sprite->setColor(a1->m_ground1Sprite, (const cocos2d::ccColor3B *)&v44);\n    v21->addChild(v21, a1->m_ground1Sprite);\n    v31 = v21->cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    LODWORD(v48[2]) = 1;\n    v48[3] = 0.0;\n    ((void (__fastcall *)(cocos2d::CCSpriteBatchNode *, int, _DWORD))v31->setBlendFunc)(v21, 1, 0);\n    GJGroundLayer::loadGroundSprites(a1, v42, 1);\n    GJGroundLayer::updateGround01Color(a1, (cocos2d::ccColor3B)v44);\n    if ( a2 > 7 )\n    {\n      v32 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(\n                                   (cocos2d::CCString *)\"groundSquare_%02d_2_001.png\",\n                                   (const char *)a2);\n      CString = cocos2d::CCString::getCString(v32);\n      v34 = cocos2d::CCSpriteBatchNode::create(CString, (unsigned int)&dword_1C + 1);\n      a1->addChild_0(a1, v34, 3);\n      v35 = v34->getTexture(v34);\n      v36 = cocos2d::CCSprite::createWithTexture(v35);\n      v37 = v36->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n      v38 = v36;\n      a1->m_ground2Sprite = v36;\n      v36->m_bDontDraw = 1;\n      v39 = v37->setPosition;\n      cocos2d::CCPoint::CCPoint(&v49, 0.0, 0.0);\n      v39(v38, &v49);\n      a1->m_ground2Sprite->setColor(a1->m_ground2Sprite, (const cocos2d::ccColor3B *)&v44);\n      v34->addChild(v34, a1->m_ground2Sprite);\n      GJGroundLayer::loadGroundSprites(a1, v42, 0);\n      GJGroundLayer::updateGround01Color(a1, (cocos2d::ccColor3B)v44);\n    }\n  }\n  return v41;\n}", "assembly": "; \n; GJGroundLayer::init from 0x4345f8 to 0x434932 (826 bytes)\n; \n; 1 xrefs:\n; > GJGroundLayer::create @ 0x4349d4\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, 0x4345f8\nMOV             R4, R0                                                 ; +0x4, 0x4345fc\nLDR             R7, =(__stack_chk_guard_ptr - 0x43460C)                ; +0x6, 0x4345fe\nMOV             R10, R1                                                ; +0x8, 0x434600\nVPUSH           {D8}                                                   ; +0xa, 0x434602\nMOV             R8, R2                                                 ; +0xe, 0x434606\nADD             R7, PC; __stack_chk_guard_ptr                          ; +0x10, 0x434608\nLDR             R7, [R7]; __stack_chk_guard                            ; +0x12, 0x43460a\nLDR             R3, [R7]                                               ; +0x14, 0x43460c\nSUB             SP, SP, #0x44                                          ; +0x16, 0x43460e\nSTR             R3, [SP,#0x44+var_8]                                   ; +0x18, 0x434610\nBL              _ZN7cocos2d7CCLayer4initEv; cocos2d::CCLayer::init(void) ; +0x1a, 0x434612\nSTR             R7, [SP,#0x44+var_3C]                                  ; +0x1e, 0x434616\nSTR             R0, [SP,#0x44+var_44]                                  ; +0x20, 0x434618\nCMP             R0, #0                                                 ; +0x22, 0x43461a\nBEQ.W           loc_434918                                             ; +0x24, 0x43461c\nLDR             R3, =(stru_AC6524 - 0x43462E)                          ; +0x28, 0x434620\nMOV             R0, R4                                                 ; +0x2a, 0x434622\nLDR             R2, [R4]                                               ; +0x2c, 0x434624\nMOV.W           R9, #1                                                 ; +0x2e, 0x434626\nADD             R3, PC; stru_AC6524                                    ; +0x32, 0x43462a\nSTR             R3, [SP,#0x44+var_38]                                  ; +0x34, 0x43462c\nLDR             R5, =(aGroundsquaresh - 0x434640); \"groundSquareShadow_001.png\" ; +0x36, 0x43462e\nVMOV.F32        S16, #1.0                                              ; +0x38, 0x434630\nMOV             R1, R3                                                 ; +0x3c, 0x434634\nLDR.W           R7, [R2,#0x98]                                         ; +0x3e, 0x434636\nBLX             R7                                                     ; +0x42, 0x43463a\nADD             R5, PC; \"groundSquareShadow_001.png\"                   ; +0x44, 0x43463c\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x46, 0x43463e\nADD             R7, SP, #0x44+var_10                                   ; +0x4a, 0x434642\nMOV             R1, R0                                                 ; +0x4c, 0x434644\nADD             R0, SP, #0x44+var_30; this                             ; +0x4e, 0x434646\nBL              _ZN7cocos2d10CCDirector10getWinSizeEv; cocos2d::CCDirector::getWinSize(void) ; +0x50, 0x434648\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x54, 0x43464c\nMOV             R1, R10; int                                           ; +0x58, 0x434650\nBL              _ZN11GameManager11getGTextureEi; GameManager::getGTexture(int) ; +0x5a, 0x434652\nMOV             R1, R8; int                                            ; +0x5e, 0x434656\nSTRB.W          R9, [R4,#0x14D]                                        ; +0x60, 0x434658\nMOV             R11, R0                                                ; +0x64, 0x43465c\nMOV             R0, R4; this                                           ; +0x66, 0x43465e\nBL              _ZN13GJGroundLayer10createLineEi; GJGroundLayer::createLine(int) ; +0x68, 0x434660\nMOV             R0, R5; this                                           ; +0x6c, 0x434664\nBL              _ZN7cocos2d8CCSprite25createWithSpriteFrameNameEPKc; cocos2d::CCSprite::createWithSpriteFrameName(char const*) ; +0x6e, 0x434666\nMOVS            R1, #0; float                                          ; +0x72, 0x43466a\nLDR             R2, [R0]                                               ; +0x74, 0x43466c\nMOV             R6, R0                                                 ; +0x76, 0x43466e\nMOV             R0, R7; this                                           ; +0x78, 0x434670\nLDR.W           R8, [R2,#0x8C]                                         ; +0x7a, 0x434672\nMOV.W           R2, #0x3F800000; float                                 ; +0x7e, 0x434676\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x82, 0x43467a\nMOV             R1, R7                                                 ; +0x86, 0x43467e\nMOV             R0, R6                                                 ; +0x88, 0x434680\nBLX             R8                                                     ; +0x8a, 0x434682\nLDR             R2, [R6]                                               ; +0x8c, 0x434684\nLDR.W           R8, [R2,#0x5C]                                         ; +0x8e, 0x434686\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x92, 0x43468a\nBL              _ZN7cocos2d10CCDirector13getScreenLeftEv; cocos2d::CCDirector::getScreenLeft(void) ; +0x96, 0x43468e\nMOVS            R2, #0; float                                          ; +0x9a, 0x434692\nVMOV            S15, R0                                                ; +0x9c, 0x434694\nMOV             R0, R7; this                                           ; +0xa0, 0x434698\nVSUB.F32        S15, S15, S16                                          ; +0xa2, 0x43469a\nVMOV            R1, S15; float                                         ; +0xa6, 0x43469e\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xaa, 0x4346a2\nMOV             R0, R6                                                 ; +0xae, 0x4346a6\nMOV             R1, R7                                                 ; +0xb0, 0x4346a8\nBLX             R8                                                     ; +0xb2, 0x4346aa\nLDR             R2, [R4]                                               ; +0xb4, 0x4346ac\nMOV             R1, R6                                                 ; +0xb6, 0x4346ae\nMOV             R0, R4                                                 ; +0xb8, 0x4346b0\nLDR.W           R12, [R2,#0xE0]                                        ; +0xba, 0x4346b2\nMOVS            R2, #6                                                 ; +0xbe, 0x4346b6\nBLX             R12                                                    ; +0xc0, 0x4346b8\nLDR             R2, [R6]                                               ; +0xc2, 0x4346ba\nMOV             R0, R6                                                 ; +0xc4, 0x4346bc\nMOVS            R1, #0                                                 ; +0xc6, 0x4346be\nLDR             R2, [R2,#0x24]                                         ; +0xc8, 0x4346c0\nBLX             R2                                                     ; +0xca, 0x4346c2\nMOV             R0, R5; this                                           ; +0xcc, 0x4346c4\nBL              _ZN7cocos2d8CCSprite25createWithSpriteFrameNameEPKc; cocos2d::CCSprite::createWithSpriteFrameName(char const*) ; +0xce, 0x4346c6\nVMOV            R1, S16; float                                         ; +0xd2, 0x4346ca\nLDR             R2, [R0]                                               ; +0xd6, 0x4346ce\nMOV             R5, R0                                                 ; +0xd8, 0x4346d0\nMOV             R0, R7; this                                           ; +0xda, 0x4346d2\nLDR.W           R8, [R2,#0x8C]                                         ; +0xdc, 0x4346d4\nVMOV            R2, S16; float                                         ; +0xe0, 0x4346d8\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xe4, 0x4346dc\nMOV             R1, R7                                                 ; +0xe8, 0x4346e0\nMOV             R0, R5                                                 ; +0xea, 0x4346e2\nBLX             R8                                                     ; +0xec, 0x4346e4\nLDR             R2, [R5]                                               ; +0xee, 0x4346e6\nLDR.W           R8, [R2,#0x5C]                                         ; +0xf0, 0x4346e8\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0xf4, 0x4346ec\nBL              _ZN7cocos2d10CCDirector14getScreenRightEv; cocos2d::CCDirector::getScreenRight(void) ; +0xf8, 0x4346f0\nMOVS            R2, #0; float                                          ; +0xfc, 0x4346f4\nVMOV            S15, R0                                                ; +0xfe, 0x4346f6\nMOV             R0, R7; this                                           ; +0x102, 0x4346fa\nVADD.F32        S16, S15, S16                                          ; +0x104, 0x4346fc\nVMOV            R1, S16; float                                         ; +0x108, 0x434700\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x10c, 0x434704\nMOV             R0, R5                                                 ; +0x110, 0x434708\nMOV             R1, R7                                                 ; +0x112, 0x43470a\nBLX             R8                                                     ; +0x114, 0x43470c\nLDR             R2, [R4]                                               ; +0x116, 0x43470e\nMOV             R1, R5                                                 ; +0x118, 0x434710\nMOV             R0, R4                                                 ; +0x11a, 0x434712\nADD.W           R8, SP, #0x44+var_28                                   ; +0x11c, 0x434714\nLDR.W           R12, [R2,#0xE0]                                        ; +0x120, 0x434718\nMOVS            R2, #6                                                 ; +0x124, 0x43471c\nBLX             R12                                                    ; +0x126, 0x43471e\nMOV             R0, R5; this                                           ; +0x128, 0x434720\nMOV             R1, R9; bool                                           ; +0x12a, 0x434722\nBL              _ZN7cocos2d8CCSprite8setFlipXEb; cocos2d::CCSprite::setFlipX(bool) ; +0x12c, 0x434724\nLDR             R2, [R5]                                               ; +0x130, 0x434728\nMOV             R0, R5                                                 ; +0x132, 0x43472a\nMOV             R1, R9                                                 ; +0x134, 0x43472c\nLDR             R2, [R2,#0x24]                                         ; +0x136, 0x43472e\nBLX             R2                                                     ; +0x138, 0x434730\nLDR             R2, [R6]                                               ; +0x13a, 0x434732\nMOV             R0, R6                                                 ; +0x13c, 0x434734\nMOVS            R1, #0x64 ; 'd'                                        ; +0x13e, 0x434736\nLDR.W           R2, [R2,#0x1C0]                                        ; +0x140, 0x434738\nBLX             R2                                                     ; +0x144, 0x43473c\nLDR             R2, [R5]                                               ; +0x146, 0x43473e\nMOV             R0, R5                                                 ; +0x148, 0x434740\nMOVS            R1, #0x64 ; 'd'                                        ; +0x14a, 0x434742\nLDR.W           R2, [R2,#0x1C0]                                        ; +0x14c, 0x434744\nBLX             R2                                                     ; +0x150, 0x434748\nLDR             R2, [R6]                                               ; +0x152, 0x43474a\nMOV             R0, R6                                                 ; +0x154, 0x43474c\nLDR             R1, =0x3F333333                                        ; +0x156, 0x43474e\nLDR             R2, [R2,#0x40]                                         ; +0x158, 0x434750\nBLX             R2                                                     ; +0x15a, 0x434752\nLDR             R2, [R5]                                               ; +0x15c, 0x434754\nMOV             R0, R5                                                 ; +0x15e, 0x434756\nLDR             R1, =0x3F333333                                        ; +0x160, 0x434758\nLDR             R2, [R2,#0x40]                                         ; +0x162, 0x43475a\nBLX             R2                                                     ; +0x164, 0x43475c\nLDR             R2, =(off_9AB688 - 0x434764)                           ; +0x166, 0x43475e\nADD             R2, PC; off_9AB688                                     ; +0x168, 0x434760\nADDS            R2, #(unk_9AB694 - 0x9AB688)                           ; +0x16a, 0x434762\nLDM.W           R2, {R0,R1}                                            ; +0x16c, 0x434764\nLDR             R2, [R6]                                               ; +0x170, 0x434768\nSTM.W           R8, {R0,R1}                                            ; +0x172, 0x43476a\nMOV             R0, R6                                                 ; +0x176, 0x43476e\nLDR.W           R12, [R2,#0x214]                                       ; +0x178, 0x434770\nLDM.W           R8, {R1,R2}                                            ; +0x17c, 0x434774\nBLX             R12                                                    ; +0x180, 0x434778\nLDR             R2, [R5]                                               ; +0x182, 0x43477a\nMOV             R0, R5                                                 ; +0x184, 0x43477c\nMOVS            R5, #0                                                 ; +0x186, 0x43477e\nLDR.W           R6, [R2,#0x214]                                        ; +0x188, 0x434780\nLDM.W           R8, {R1,R2}                                            ; +0x18c, 0x434784\nBLX             R6                                                     ; +0x190, 0x434788\nMOV             R0, R11; this                                          ; +0x192, 0x43478a\nMOVS            R1, #(dword_1C+1); char *                              ; +0x194, 0x43478c\nSTRB.W          R5, [R4,#0x14C]                                        ; +0x196, 0x43478e\nMOVS            R2, #0x66 ; 'f'                                        ; +0x19a, 0x434792\nSTRB.W          R5, [SP,#0x44+var_34]                                  ; +0x19c, 0x434794\nSTRB.W          R2, [SP,#0x44+var_34+1]                                ; +0x1a0, 0x434798\nMOVS            R2, #0xFF; unsigned int                                ; +0x1a4, 0x43479c\nSTRB.W          R2, [SP,#0x44+var_34+2]                                ; +0x1a6, 0x43479e\nBL              _ZN7cocos2d17CCSpriteBatchNode6createEPKcj; cocos2d::CCSpriteBatchNode::create(char const*,uint) ; +0x1aa, 0x4347a2\nLDR             R2, [R4]                                               ; +0x1ae, 0x4347a6\nLDR.W           R6, [R2,#0xE0]                                         ; +0x1b0, 0x4347a8\nMOVS            R2, #2                                                 ; +0x1b4, 0x4347ac\nMOV             R11, R0                                                ; +0x1b6, 0x4347ae\nMOV             R0, R4                                                 ; +0x1b8, 0x4347b0\nMOV             R1, R11                                                ; +0x1ba, 0x4347b2\nBLX             R6                                                     ; +0x1bc, 0x4347b4\nLDR.W           R2, [R11]                                              ; +0x1be, 0x4347b6\nMOV             R0, R11                                                ; +0x1c2, 0x4347ba\nLDR.W           R2, [R2,#0x1B8]                                        ; +0x1c4, 0x4347bc\nBLX             R2                                                     ; +0x1c8, 0x4347c0\nLDR             R2, [R0]                                               ; +0x1ca, 0x4347c2\nMOV             R1, R0                                                 ; +0x1cc, 0x4347c4\nADD             R0, SP, #0x44+var_20                                   ; +0x1ce, 0x4347c6\nLDR             R2, [R2,#0x48]                                         ; +0x1d0, 0x4347c8\nBLX             R2                                                     ; +0x1d2, 0x4347ca\nVLDR            S14, [SP,#0x44+var_30]                                 ; +0x1d4, 0x4347cc\nVLDR            S15, [SP,#0x44+var_20]                                 ; +0x1d8, 0x4347d0\nVSTR            S15, [R4,#0x144]                                       ; +0x1dc, 0x4347d4\nVDIV.F32        S15, S14, S15                                          ; +0x1e0, 0x4347d8\nVMOV            R0, S15; x                                             ; +0x1e4, 0x4347dc\nBLX             ceilf                                                  ; +0x1e8, 0x4347e0\nVMOV.F64        D6, #1.0                                               ; +0x1ec, 0x4347e4\nLDR.W           R2, [R11]                                              ; +0x1f0, 0x4347e8\nLDR.W           R2, [R2,#0x1B8]                                        ; +0x1f4, 0x4347ec\nVMOV            S15, R0                                                ; +0x1f8, 0x4347f0\nMOV             R0, R11                                                ; +0x1fc, 0x4347f4\nVCVT.F64.F32    D7, S15                                                ; +0x1fe, 0x4347f6\nVADD.F64        D7, D7, D6                                             ; +0x202, 0x4347fa\nVCVT.S32.F64    S15, D7                                                ; +0x206, 0x4347fe\nVLDR            S14, [SP,#0x44+var_1C]                                 ; +0x20a, 0x434802\nVSTR            S15, [SP,#0x44+var_40]                                 ; +0x20e, 0x434806\nVLDR            S15, =128.0                                            ; +0x212, 0x43480a\nVSUB.F32        S15, S15, S14                                          ; +0x216, 0x43480e\nVSTR            S15, [R4,#0x150]                                       ; +0x21a, 0x434812\nBLX             R2                                                     ; +0x21e, 0x434816\nLDR             R3, [SP,#0x44+var_38]                                  ; +0x220, 0x434818\nADD.W           R8, R3, #(stru_AC652C - 0xAC6524)                      ; +0x222, 0x43481a\nMOV             R1, R8; cocos2d::CCTexture2D *                         ; +0x226, 0x43481e\nBL              _ZN7cocos2d8CCSprite17createWithTextureEPNS_11CCTexture2DERKNS_6CCRectE; cocos2d::CCSprite::createWithTexture(cocos2d::CCTexture2D *,cocos2d::CCRect const&) ; +0x228, 0x434820\nMOVS            R1, #0; float                                          ; +0x22c, 0x434824\nLDR             R2, [R0]                                               ; +0x22e, 0x434826\nSTR.W           R0, [R4,#0x13C]                                        ; +0x230, 0x434828\nSTR             R0, [SP,#0x44+var_38]                                  ; +0x234, 0x43482c\nLDR             R6, [R2,#0x5C]                                         ; +0x236, 0x43482e\nMOV             R2, R1; float                                          ; +0x238, 0x434830\nSTRB.W          R9, [R0,#0x1D7]                                        ; +0x23a, 0x434832\nMOV             R0, R7; this                                           ; +0x23e, 0x434836\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x240, 0x434838\nLDR             R3, [SP,#0x44+var_38]                                  ; +0x244, 0x43483c\nMOV             R1, R7                                                 ; +0x246, 0x43483e\nMOV             R0, R3                                                 ; +0x248, 0x434840\nBLX             R6                                                     ; +0x24a, 0x434842\nLDR.W           R0, [R4,#0x13C]                                        ; +0x24c, 0x434844\nADD             R6, SP, #0x44+var_34                                   ; +0x250, 0x434848\nLDR             R3, [R0]                                               ; +0x252, 0x43484a\nMOV             R1, R6                                                 ; +0x254, 0x43484c\nLDR.W           R3, [R3,#0x1D8]                                        ; +0x256, 0x43484e\nBLX             R3                                                     ; +0x25a, 0x434852\nLDR.W           R3, [R11]                                              ; +0x25c, 0x434854\nMOV             R0, R11                                                ; +0x260, 0x434858\nLDR.W           R1, [R4,#0x13C]                                        ; +0x262, 0x43485a\nLDR.W           R3, [R3,#0xDC]                                         ; +0x266, 0x43485e\nBLX             R3                                                     ; +0x26a, 0x434862\nLDR.W           R3, [R11]                                              ; +0x26c, 0x434864\nADD             R2, SP, #0x44+var_18                                   ; +0x270, 0x434868\nSTR.W           R9, [SP,#0x44+var_18]                                  ; +0x272, 0x43486a\nSTR             R5, [SP,#0x44+var_14]                                  ; +0x276, 0x43486e\nMOV             R0, R11                                                ; +0x278, 0x434870\nLDR.W           R3, [R3,#0x1C0]                                        ; +0x27a, 0x434872\nLDM             R2, {R1,R2}                                            ; +0x27e, 0x434876\nBLX             R3                                                     ; +0x280, 0x434878\nMOV             R0, R4; this                                           ; +0x282, 0x43487a\nLDR             R1, [SP,#0x44+var_40]; int                             ; +0x284, 0x43487c\nMOV             R2, R9; bool                                           ; +0x286, 0x43487e\nBL              _ZN13GJGroundLayer17loadGroundSpritesEib; GJGroundLayer::loadGroundSprites(int,bool) ; +0x288, 0x434880\nMOV             R0, R4                                                 ; +0x28c, 0x434884\nLDR             R1, [SP,#0x44+var_34]                                  ; +0x28e, 0x434886\nBL              _ZN13GJGroundLayer19updateGround01ColorEN7cocos2d10_ccColor3BE; GJGroundLayer::updateGround01Color(cocos2d::_ccColor3B) ; +0x290, 0x434888\nCMP.W           R10, #7                                                ; +0x294, 0x43488c\nBLE             loc_434918                                             ; +0x298, 0x434890\nLDR             R0, =(aGroundsquare02_0 - 0x43489A); \"groundSquare_%02d_2_001.png\" ; +0x29a, 0x434892\nMOV             R1, R10; char *                                        ; +0x29c, 0x434894\nADD             R0, PC; \"groundSquare_%02d_2_001.png\"                  ; +0x29e, 0x434896\nBL              _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x2a0, 0x434898\nBL              _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x2a4, 0x43489c\nMOVS            R1, #(dword_1C+1); char *                              ; +0x2a8, 0x4348a0\nBL              _ZN7cocos2d17CCSpriteBatchNode6createEPKcj; cocos2d::CCSpriteBatchNode::create(char const*,uint) ; +0x2aa, 0x4348a2\nLDR             R3, [R4]                                               ; +0x2ae, 0x4348a6\nMOVS            R2, #3                                                 ; +0x2b0, 0x4348a8\nLDR.W           R3, [R3,#0xE0]                                         ; +0x2b2, 0x4348aa\nMOV             R10, R0                                                ; +0x2b6, 0x4348ae\nMOV             R0, R4                                                 ; +0x2b8, 0x4348b0\nMOV             R1, R10                                                ; +0x2ba, 0x4348b2\nBLX             R3                                                     ; +0x2bc, 0x4348b4\nLDR.W           R3, [R10]                                              ; +0x2be, 0x4348b6\nMOV             R0, R10                                                ; +0x2c2, 0x4348ba\nLDR.W           R3, [R3,#0x1B8]                                        ; +0x2c4, 0x4348bc\nBLX             R3                                                     ; +0x2c8, 0x4348c0\nMOV             R1, R8; cocos2d::CCTexture2D *                         ; +0x2ca, 0x4348c2\nBL              _ZN7cocos2d8CCSprite17createWithTextureEPNS_11CCTexture2DERKNS_6CCRectE; cocos2d::CCSprite::createWithTexture(cocos2d::CCTexture2D *,cocos2d::CCRect const&) ; +0x2cc, 0x4348c4\nMOVS            R1, #0; float                                          ; +0x2d0, 0x4348c8\nMOV             R2, R1; float                                          ; +0x2d2, 0x4348ca\nLDR             R3, [R0]                                               ; +0x2d4, 0x4348cc\nMOV             R8, R0                                                 ; +0x2d6, 0x4348ce\nSTR.W           R0, [R4,#0x140]                                        ; +0x2d8, 0x4348d0\nSTRB.W          R9, [R0,#0x1D7]                                        ; +0x2dc, 0x4348d4\nMOV             R0, R7; this                                           ; +0x2e0, 0x4348d8\nLDR.W           R9, [R3,#0x5C]                                         ; +0x2e2, 0x4348da\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x2e6, 0x4348de\nMOV             R0, R8                                                 ; +0x2ea, 0x4348e2\nMOV             R1, R7                                                 ; +0x2ec, 0x4348e4\nBLX             R9                                                     ; +0x2ee, 0x4348e6\nLDR.W           R0, [R4,#0x140]                                        ; +0x2f0, 0x4348e8\nMOV             R1, R6                                                 ; +0x2f4, 0x4348ec\nLDR             R3, [R0]                                               ; +0x2f6, 0x4348ee\nLDR.W           R3, [R3,#0x1D8]                                        ; +0x2f8, 0x4348f0\nBLX             R3                                                     ; +0x2fc, 0x4348f4\nLDR.W           R3, [R10]                                              ; +0x2fe, 0x4348f6\nMOV             R0, R10                                                ; +0x302, 0x4348fa\nLDR.W           R1, [R4,#0x140]                                        ; +0x304, 0x4348fc\nLDR.W           R3, [R3,#0xDC]                                         ; +0x308, 0x434900\nBLX             R3                                                     ; +0x30c, 0x434904\nMOV             R0, R4; this                                           ; +0x30e, 0x434906\nLDR             R1, [SP,#0x44+var_40]; int                             ; +0x310, 0x434908\nMOV             R2, R5; bool                                           ; +0x312, 0x43490a\nBL              _ZN13GJGroundLayer17loadGroundSpritesEib; GJGroundLayer::loadGroundSprites(int,bool) ; +0x314, 0x43490c\nMOV             R0, R4                                                 ; +0x318, 0x434910\nLDR             R1, [SP,#0x44+var_34]                                  ; +0x31a, 0x434912\nBL              _ZN13GJGroundLayer19updateGround01ColorEN7cocos2d10_ccColor3BE; GJGroundLayer::updateGround01Color(cocos2d::_ccColor3B) ; +0x31c, 0x434914\nLDR             R3, [SP,#0x44+var_3C]                                  ; +0x320, 0x434918\nLDR             R2, [SP,#0x44+var_8]                                   ; +0x322, 0x43491a\nLDR             R0, [SP,#0x44+var_44]                                  ; +0x324, 0x43491c\nLDR             R3, [R3]                                               ; +0x326, 0x43491e\nCMP             R2, R3                                                 ; +0x328, 0x434920\nBEQ             loc_434928                                             ; +0x32a, 0x434922\nBLX             __stack_chk_fail                                       ; +0x32c, 0x434924\nADD             SP, SP, #0x44 ; 'D'                                    ; +0x330, 0x434928\nVPOP            {D8}                                                   ; +0x332, 0x43492a\nPOP.W           {R4-R11,PC}                                            ; +0x336, 0x43492e", "xrefs": ["GJGroundLayer::create @ 0x4349d4"], "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"}