{"type": "func", "start": 4408400, "end": 4408462, "name": "GJGroundLayer::updateGround02Color", "pseudocode": "// \n// GJGroundLayer::updateGround02Color from 0x434450 to 0x43448e (62 bytes)\n// \n// 9 xrefs:\n// > LevelEditorLayer::updateEditorMode @ 0x3690a8\n// > MenuGameLayer::updateColors @ 0x3a9476\n// > LevelSelectLayer::scrollLayerMoved @ 0x4094dc\n// > GJBaseGameLayer::updateLevelColors @ 0x46da16\n// > GJBaseGameLayer::updateLevelColors @ 0x46da20\n// > GJBaseGameLayer::visitWithColorFlash @ 0x479a6a\n// > GJBaseGameLayer::visitWithColorFlash @ 0x479a74\n// > GJBaseGameLayer::visitWithColorFlash @ 0x479aa6\n// > GJBaseGameLayer::visitWithColorFlash @ 0x479ab0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid GJGroundLayer::updateGround02Color(GJGroundLayer *a1, cocos2d::ccColor3B a2)\n{\n  cocos2d::CCSprite *m_ground2Sprite; // r0\n  cocos2d::CCArray *v3; // r5\n  unsigned int i; // r4\n  int v5; // r0\n  int v6; // [sp+4h] [bp-4h] BYREF\n\n  v6 = *(_DWORD *)&a2.r;\n  m_ground2Sprite = a1->m_ground2Sprite;\n  if ( m_ground2Sprite )\n  {\n    v3 = m_ground2Sprite->getChildren(m_ground2Sprite);\n    if ( v3 )\n    {\n      for ( i = 0; i < cocos2d::CCArray::count(v3); ++i )\n      {\n        v5 = cocos2d::CCArray::objectAtIndex(v3, i);\n        (*(void (__fastcall **)(int, int *))(*(_DWORD *)v5 + 472))(v5, &v6);\n      }\n    }\n  }\n}", "assembly": "; \n; GJGroundLayer::updateGround02Color from 0x434450 to 0x43448e (62 bytes)\n; \n; 9 xrefs:\n; > LevelEditorLayer::updateEditorMode @ 0x3690a8\n; > MenuGameLayer::updateColors @ 0x3a9476\n; > LevelSelectLayer::scrollLayerMoved @ 0x4094dc\n; > GJBaseGameLayer::updateLevelColors @ 0x46da16\n; > GJBaseGameLayer::updateLevelColors @ 0x46da20\n; > GJBaseGameLayer::visitWithColorFlash @ 0x479a6a\n; > GJBaseGameLayer::visitWithColorFlash @ 0x479a74\n; > GJBaseGameLayer::visitWithColorFlash @ 0x479aa6\n; > GJBaseGameLayer::visitWithColorFlash @ 0x479ab0\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            {R0,R1,R4-R6,LR}                                       ; +0x0, 0x434450\nSTR             R1, [SP,#8+var_4]                                      ; +0x2, 0x434452\nLDR.W           R0, [R0,#0x140]                                        ; +0x4, 0x434454\nCBZ             R0, loc_43448A                                         ; +0x8, 0x434458\nLDR             R3, [R0]                                               ; +0xa, 0x43445a\nLDR.W           R3, [R3,#0xEC]                                         ; +0xc, 0x43445c\nBLX             R3                                                     ; +0x10, 0x434460\nMOV             R5, R0                                                 ; +0x12, 0x434462\nCBZ             R0, loc_43448A                                         ; +0x14, 0x434464\nADD             R6, SP, #8+var_4                                       ; +0x16, 0x434466\nMOVS            R4, #0                                                 ; +0x18, 0x434468\nMOV             R0, R5; this                                           ; +0x1a, 0x43446a\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x1c, 0x43446c\nCMP             R4, R0                                                 ; +0x20, 0x434470\nBCS             loc_43448A                                             ; +0x22, 0x434472\nMOV             R1, R4; unsigned int                                   ; +0x24, 0x434474\nMOV             R0, R5; this                                           ; +0x26, 0x434476\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x28, 0x434478\nMOV             R1, R6                                                 ; +0x2c, 0x43447c\nADDS            R4, #1                                                 ; +0x2e, 0x43447e\nLDR             R3, [R0]                                               ; +0x30, 0x434480\nLDR.W           R3, [R3,#0x1D8]                                        ; +0x32, 0x434482\nBLX             R3                                                     ; +0x36, 0x434486\nB               loc_43446A                                             ; +0x38, 0x434488\nADD             SP, SP, #8                                             ; +0x3a, 0x43448a\nPOP             {R4-R6,PC}                                             ; +0x3c, 0x43448c", "xrefs": ["LevelEditorLayer::updateEditorMode @ 0x3690a8", "MenuGameLayer::updateColors @ 0x3a9476", "LevelSelectLayer::scrollLayerMoved @ 0x4094dc", "GJBaseGameLayer::updateLevelColors @ 0x46da16", "GJBaseGameLayer::updateLevelColors @ 0x46da20", "GJBaseGameLayer::visitWithColorFlash @ 0x479a6a", "GJBaseGameLayer::visitWithColorFlash @ 0x479a74", "GJBaseGameLayer::visitWithColorFlash @ 0x479aa6", "GJBaseGameLayer::visitWithColorFlash @ 0x479ab0"], "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"}