{"type": "func", "start": 4408340, "end": 4408400, "name": "GJGroundLayer::updateGround01Color", "pseudocode": "// \n// GJGroundLayer::updateGround01Color from 0x434414 to 0x434450 (60 bytes)\n// \n// 11 xrefs:\n// > LevelEditorLayer::updateEditorMode @ 0x3690a0\n// > MenuGameLayer::updateColors @ 0x3a944c\n// > LevelSelectLayer::scrollLayerMoved @ 0x40947a\n// > GJGroundLayer::init @ 0x434888\n// > GJGroundLayer::init @ 0x434914\n// > GJBaseGameLayer::updateLevelColors @ 0x46d9d8\n// > GJBaseGameLayer::updateLevelColors @ 0x46d9e2\n// > GJBaseGameLayer::visitWithColorFlash @ 0x479a56\n// > GJBaseGameLayer::visitWithColorFlash @ 0x479a60\n// > GJBaseGameLayer::visitWithColorFlash @ 0x479a92\n// > GJBaseGameLayer::visitWithColorFlash @ 0x479a9c\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::updateGround01Color(GJGroundLayer *a1, cocos2d::ccColor3B a2)\n{\n  cocos2d::CCArray *v2; // r5\n  unsigned int i; // r4\n  int v4; // r0\n  int v5; // [sp+4h] [bp-4h] BYREF\n\n  v5 = *(_DWORD *)&a2.r;\n  v2 = a1->m_ground1Sprite->getChildren(a1->m_ground1Sprite);\n  if ( v2 )\n  {\n    for ( i = 0; i < cocos2d::CCArray::count(v2); ++i )\n    {\n      v4 = cocos2d::CCArray::objectAtIndex(v2, i);\n      (*(void (__fastcall **)(int, int *))(*(_DWORD *)v4 + 472))(v4, &v5);\n    }\n  }\n}", "assembly": "; \n; GJGroundLayer::updateGround01Color from 0x434414 to 0x434450 (60 bytes)\n; \n; 11 xrefs:\n; > LevelEditorLayer::updateEditorMode @ 0x3690a0\n; > MenuGameLayer::updateColors @ 0x3a944c\n; > LevelSelectLayer::scrollLayerMoved @ 0x40947a\n; > GJGroundLayer::init @ 0x434888\n; > GJGroundLayer::init @ 0x434914\n; > GJBaseGameLayer::updateLevelColors @ 0x46d9d8\n; > GJBaseGameLayer::updateLevelColors @ 0x46d9e2\n; > GJBaseGameLayer::visitWithColorFlash @ 0x479a56\n; > GJBaseGameLayer::visitWithColorFlash @ 0x479a60\n; > GJBaseGameLayer::visitWithColorFlash @ 0x479a92\n; > GJBaseGameLayer::visitWithColorFlash @ 0x479a9c\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, 0x434414\nSTR             R1, [SP,#8+var_4]                                      ; +0x2, 0x434416\nLDR.W           R0, [R0,#0x13C]                                        ; +0x4, 0x434418\nLDR             R3, [R0]                                               ; +0x8, 0x43441c\nLDR.W           R3, [R3,#0xEC]                                         ; +0xa, 0x43441e\nBLX             R3                                                     ; +0xe, 0x434422\nMOV             R5, R0                                                 ; +0x10, 0x434424\nCBZ             R0, loc_43444C                                         ; +0x12, 0x434426\nADD             R6, SP, #8+var_4                                       ; +0x14, 0x434428\nMOVS            R4, #0                                                 ; +0x16, 0x43442a\nMOV             R0, R5; this                                           ; +0x18, 0x43442c\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x1a, 0x43442e\nCMP             R4, R0                                                 ; +0x1e, 0x434432\nBCS             loc_43444C                                             ; +0x20, 0x434434\nMOV             R1, R4; unsigned int                                   ; +0x22, 0x434436\nMOV             R0, R5; this                                           ; +0x24, 0x434438\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x26, 0x43443a\nMOV             R1, R6                                                 ; +0x2a, 0x43443e\nADDS            R4, #1                                                 ; +0x2c, 0x434440\nLDR             R3, [R0]                                               ; +0x2e, 0x434442\nLDR.W           R3, [R3,#0x1D8]                                        ; +0x30, 0x434444\nBLX             R3                                                     ; +0x34, 0x434448\nB               loc_43442C                                             ; +0x36, 0x43444a\nADD             SP, SP, #8                                             ; +0x38, 0x43444c\nPOP             {R4-R6,PC}                                             ; +0x3a, 0x43444e", "xrefs": ["LevelEditorLayer::updateEditorMode @ 0x3690a0", "MenuGameLayer::updateColors @ 0x3a944c", "LevelSelectLayer::scrollLayerMoved @ 0x40947a", "GJGroundLayer::init @ 0x434888", "GJGroundLayer::init @ 0x434914", "GJBaseGameLayer::updateLevelColors @ 0x46d9d8", "GJBaseGameLayer::updateLevelColors @ 0x46d9e2", "GJBaseGameLayer::visitWithColorFlash @ 0x479a56", "GJBaseGameLayer::visitWithColorFlash @ 0x479a60", "GJBaseGameLayer::visitWithColorFlash @ 0x479a92", "GJBaseGameLayer::visitWithColorFlash @ 0x479a9c"], "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"}