{"type": "func", "start": 4643184, "end": 4643806, "name": "GJBaseGameLayer::updateLevelColors", "pseudocode": "// \n// GJBaseGameLayer::updateLevelColors from 0x46d970 to 0x46dbde (622 bytes)\n// \n// 10 xrefs:\n// > PlayLayer::postUpdate @ 0x31baf6\n// > PlayLayer::setupHasCompleted @ 0x31c1c4\n// > PlayLayer::setupHasCompleted @ 0x31c3ce\n// > PlayLayer::resetLevel @ 0x31fd06\n// > LevelEditorLayer::onPlaytest @ 0x36ecf4\n// > LevelEditorLayer::postUpdate @ 0x375168\n// > LevelEditorLayer::updateGameObjects @ 0x376000\n// > GJBaseGameLayer::asyncBGLoaded @ 0x46dbf6\n// > GJBaseGameLayer::asyncGLoaded @ 0x46dc42\n// > GJBaseGameLayer::asyncMGLoaded @ 0x46dc54\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 GJBaseGameLayer::updateLevelColors(GJBaseGameLayer *a1)\n{\n  int v2; // r0\n  char v3; // r3\n  cocos2d::CCSprite *m_background; // r0\n  int v5; // r0\n  int v6; // r0\n  int v7; // r0\n  char v8; // r3\n  GJEffectManager *m_effectManager; // r0\n  float v10; // s16\n  GJGroundLayer *m_groundLayer; // r5\n  bool shouldBlend; // r0\n  GJGroundLayer *m_groundLayer2; // r5\n  bool v14; // r0\n  GJMGLayer *m_middleground; // r5\n  int v16; // r0\n  GJMGLayer *v17; // r5\n  int v18; // r0\n  GJMGLayer *v19; // r5\n  float v20; // r0\n  GJMGLayer *v21; // r5\n  GJMGLayer *v22; // r5\n  bool v23; // r0\n  GJMGLayer *v24; // r5\n  bool v25; // r0\n  unsigned __int8 v26[4]; // [sp+4h] [bp-1Ch]\n  unsigned __int8 v27[4]; // [sp+4h] [bp-1Ch]\n  _BYTE v28[4]; // [sp+8h] [bp-18h] BYREF\n  int v29; // [sp+Ch] [bp-14h]\n  _BYTE v30[4]; // [sp+10h] [bp-10h] BYREF\n  int v31; // [sp+14h] [bp-Ch]\n  int v32; // [sp+18h] [bp-8h]\n\n  *(cocos2d::ccColor3B *)&v2 = GJEffectManager::activeColorForIndex(a1->m_effectManager, 1000);\n  v3 = BYTE1(v2);\n  v28[0] = v2;\n  v28[2] = BYTE2(v2);\n  m_background = a1->m_background;\n  v28[1] = v3;\n  m_background->setColor(m_background, (const cocos2d::ccColor3B *)v28);\n  *(cocos2d::ccColor3B *)&v5 = GJEffectManager::activeColorForIndex(a1->m_effectManager, 1001);\n  LOWORD(v29) = v5;\n  BYTE2(v29) = BYTE2(v5);\n  GJGroundLayer::updateGround01Color(a1->m_groundLayer, (cocos2d::ccColor3B)v29);\n  GJGroundLayer::updateGround01Color(a1->m_groundLayer2, (cocos2d::ccColor3B)v29);\n  if ( a1->m_groundLayer->m_ground2Sprite )\n  {\n    *(cocos2d::ccColor3B *)&v6 = GJEffectManager::activeColorForIndex(a1->m_effectManager, 1009);\n    LOWORD(v32) = v6;\n    BYTE2(v32) = BYTE2(v6);\n    GJGroundLayer::updateGround02Color(a1->m_groundLayer, (cocos2d::ccColor3B)v32);\n    GJGroundLayer::updateGround02Color(a1->m_groundLayer2, (cocos2d::ccColor3B)v32);\n  }\n  *(cocos2d::ccColor3B *)&v7 = GJEffectManager::activeColorForIndex(a1->m_effectManager, 1002);\n  v8 = BYTE1(v7);\n  v30[0] = v7;\n  v30[2] = BYTE2(v7);\n  m_effectManager = a1->m_effectManager;\n  v30[1] = v8;\n  v10 = GJEffectManager::activeOpacityForIndex(m_effectManager, 1002);\n  a1->m_groundLayer->m_lineSprite->setColor(a1->m_groundLayer->m_lineSprite, (const cocos2d::ccColor3B *)v30);\n  a1->m_groundLayer2->m_lineSprite->setColor(a1->m_groundLayer2->m_lineSprite, (const cocos2d::ccColor3B *)v30);\n  *(_DWORD *)v26 = (unsigned int)(float)(v10 * 255.0);\n  a1->m_groundLayer->m_lineSprite->setOpacity(a1->m_groundLayer->m_lineSprite, v26[0]);\n  a1->m_groundLayer2->m_lineSprite->setOpacity(a1->m_groundLayer2->m_lineSprite, v26[0]);\n  m_groundLayer = a1->m_groundLayer;\n  shouldBlend = GJEffectManager::shouldBlend(a1->m_effectManager, 1002);\n  GJGroundLayer::updateLineBlend(m_groundLayer, shouldBlend);\n  m_groundLayer2 = a1->m_groundLayer2;\n  v14 = GJEffectManager::shouldBlend(a1->m_effectManager, 1002);\n  GJGroundLayer::updateLineBlend(m_groundLayer2, v14);\n  m_middleground = a1->m_middleground;\n  if ( m_middleground )\n  {\n    *(cocos2d::ccColor3B *)&v16 = GJEffectManager::activeColorForIndex(a1->m_effectManager, 1013);\n    LOWORD(v31) = v16;\n    BYTE2(v31) = BYTE2(v16);\n    GJMGLayer::updateGroundColor(m_middleground, (cocos2d::ccColor3B)v31, 1);\n    v17 = a1->m_middleground;\n    *(cocos2d::ccColor3B *)&v18 = GJEffectManager::activeColorForIndex(a1->m_effectManager, 1014);\n    LOWORD(v32) = v18;\n    BYTE2(v32) = BYTE2(v18);\n    GJMGLayer::updateGroundColor(v17, (cocos2d::ccColor3B)v32, 0);\n    v19 = a1->m_middleground;\n    v20 = GJEffectManager::activeOpacityForIndex(a1->m_effectManager, 1013);\n    GJMGLayer::updateGroundOpacity(v19, (unsigned int)(float)(v20 * 255.0), 1);\n    v21 = a1->m_middleground;\n    *(_DWORD *)v27 = (unsigned int)(float)(GJEffectManager::activeOpacityForIndex(a1->m_effectManager, 1014) * 255.0);\n    GJMGLayer::updateGroundOpacity(v21, v27[0], 0);\n    v22 = a1->m_middleground;\n    v23 = GJEffectManager::shouldBlend(a1->m_effectManager, 1013);\n    GJMGLayer::updateMG01Blend(v22, v23);\n    v24 = a1->m_middleground;\n    v25 = GJEffectManager::shouldBlend(a1->m_effectManager, 1014);\n    GJMGLayer::updateMG02Blend(v24, v25);\n  }\n}", "assembly": "; \n; GJBaseGameLayer::updateLevelColors from 0x46d970 to 0x46dbde (622 bytes)\n; \n; 10 xrefs:\n; > PlayLayer::postUpdate @ 0x31baf6\n; > PlayLayer::setupHasCompleted @ 0x31c1c4\n; > PlayLayer::setupHasCompleted @ 0x31c3ce\n; > PlayLayer::resetLevel @ 0x31fd06\n; > LevelEditorLayer::onPlaytest @ 0x36ecf4\n; > LevelEditorLayer::postUpdate @ 0x375168\n; > LevelEditorLayer::updateGameObjects @ 0x376000\n; > GJBaseGameLayer::asyncBGLoaded @ 0x46dbf6\n; > GJBaseGameLayer::asyncGLoaded @ 0x46dc42\n; > GJBaseGameLayer::asyncMGLoaded @ 0x46dc54\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            {R4-R6,LR}                                             ; +0x0, 0x46d970\nMOV.W           R1, #0x3E8; int                                        ; +0x2, 0x46d972\nLDR             R6, =(__stack_chk_guard_ptr - 0x46D982)                ; +0x6, 0x46d976\nMOV             R4, R0                                                 ; +0x8, 0x46d978\nVPUSH           {D8}                                                   ; +0xa, 0x46d97a\nADD             R6, PC; __stack_chk_guard_ptr                          ; +0xe, 0x46d97e\nLDR             R6, [R6]; __stack_chk_guard                            ; +0x10, 0x46d980\nLDR.W           R0, [R0,#0x690]; this                                  ; +0x12, 0x46d982\nLDR             R3, [R6]                                               ; +0x16, 0x46d986\nSUB             SP, SP, #0x20                                          ; +0x18, 0x46d988\nSTR             R3, [SP,#0x20+var_4]                                   ; +0x1a, 0x46d98a\nBL              _ZN15GJEffectManager19activeColorForIndexEi; GJEffectManager::activeColorForIndex(int) ; +0x1c, 0x46d98c\nADD             R1, SP, #0x20+var_18                                   ; +0x20, 0x46d990\nUBFX.W          R3, R0, #8, #8                                         ; +0x22, 0x46d992\nSTRB.W          R0, [SP,#0x20+var_18]                                  ; +0x26, 0x46d996\nUBFX.W          R0, R0, #0x10, #8                                      ; +0x2a, 0x46d99a\nSTRB.W          R0, [SP,#0x20+var_16]                                  ; +0x2e, 0x46d99e\nLDR.W           R0, [R4,#0x9FC]                                        ; +0x32, 0x46d9a2\nSTRB.W          R3, [SP,#0x20+var_17]                                  ; +0x36, 0x46d9a6\nLDR             R3, [R0]                                               ; +0x3a, 0x46d9aa\nLDR.W           R3, [R3,#0x1D8]                                        ; +0x3c, 0x46d9ac\nBLX             R3                                                     ; +0x40, 0x46d9b0\nMOVW            R1, #0x3E9; int                                        ; +0x42, 0x46d9b2\nLDR.W           R0, [R4,#0x690]; this                                  ; +0x46, 0x46d9b6\nBL              _ZN15GJEffectManager19activeColorForIndexEi; GJEffectManager::activeColorForIndex(int) ; +0x4a, 0x46d9ba\nUBFX.W          R3, R0, #8, #8                                         ; +0x4e, 0x46d9be\nSTRB.W          R0, [SP,#0x20+var_14]                                  ; +0x52, 0x46d9c2\nSTRB.W          R3, [SP,#0x20+var_14+1]                                ; +0x56, 0x46d9c6\nUBFX.W          R5, R0, #0x10, #8                                      ; +0x5a, 0x46d9ca\nSTRB.W          R5, [SP,#0x20+var_14+2]                                ; +0x5e, 0x46d9ce\nLDR.W           R0, [R4,#0xA04]                                        ; +0x62, 0x46d9d2\nLDR             R1, [SP,#0x20+var_14]                                  ; +0x66, 0x46d9d6\nBL              _ZN13GJGroundLayer19updateGround01ColorEN7cocos2d10_ccColor3BE; GJGroundLayer::updateGround01Color(cocos2d::_ccColor3B) ; +0x68, 0x46d9d8\nLDR.W           R0, [R4,#0xA08]                                        ; +0x6c, 0x46d9dc\nLDR             R1, [SP,#0x20+var_14]                                  ; +0x70, 0x46d9e0\nBL              _ZN13GJGroundLayer19updateGround01ColorEN7cocos2d10_ccColor3BE; GJGroundLayer::updateGround01Color(cocos2d::_ccColor3B) ; +0x72, 0x46d9e2\nLDR.W           R3, [R4,#0xA04]                                        ; +0x76, 0x46d9e6\nLDR.W           R3, [R3,#0x140]                                        ; +0x7a, 0x46d9ea\nCBZ             R3, loc_46DA24                                         ; +0x7e, 0x46d9ee\nMOVW            R1, #0x3F1; int                                        ; +0x80, 0x46d9f0\nLDR.W           R0, [R4,#0x690]; this                                  ; +0x84, 0x46d9f4\nBL              _ZN15GJEffectManager19activeColorForIndexEi; GJEffectManager::activeColorForIndex(int) ; +0x88, 0x46d9f8\nSTRB.W          R0, [SP,#0x20+var_8]                                   ; +0x8c, 0x46d9fc\nUBFX.W          R3, R0, #8, #8                                         ; +0x90, 0x46da00\nUBFX.W          R0, R0, #0x10, #8                                      ; +0x94, 0x46da04\nSTRB.W          R3, [SP,#0x20+var_8+1]                                 ; +0x98, 0x46da08\nSTRB.W          R0, [SP,#0x20+var_8+2]                                 ; +0x9c, 0x46da0c\nLDR             R1, [SP,#0x20+var_8]                                   ; +0xa0, 0x46da10\nLDR.W           R0, [R4,#0xA04]                                        ; +0xa2, 0x46da12\nBL              _ZN13GJGroundLayer19updateGround02ColorEN7cocos2d10_ccColor3BE; GJGroundLayer::updateGround02Color(cocos2d::_ccColor3B) ; +0xa6, 0x46da16\nLDR.W           R0, [R4,#0xA08]                                        ; +0xaa, 0x46da1a\nLDR             R1, [SP,#0x20+var_8]                                   ; +0xae, 0x46da1e\nBL              _ZN13GJGroundLayer19updateGround02ColorEN7cocos2d10_ccColor3BE; GJGroundLayer::updateGround02Color(cocos2d::_ccColor3B) ; +0xb0, 0x46da20\nMOVW            R1, #0x3EA; int                                        ; +0xb4, 0x46da24\nLDR.W           R0, [R4,#0x690]; this                                  ; +0xb8, 0x46da28\nBL              _ZN15GJEffectManager19activeColorForIndexEi; GJEffectManager::activeColorForIndex(int) ; +0xbc, 0x46da2c\nMOVW            R1, #0x3EA; int                                        ; +0xc0, 0x46da30\nADD             R5, SP, #0x20+var_10                                   ; +0xc4, 0x46da34\nVLDR            S17, =255.0                                            ; +0xc6, 0x46da36\nUBFX.W          R3, R0, #8, #8                                         ; +0xca, 0x46da3a\nSTRB.W          R0, [SP,#0x20+var_10]                                  ; +0xce, 0x46da3e\nUBFX.W          R0, R0, #0x10, #8                                      ; +0xd2, 0x46da42\nSTRB.W          R0, [SP,#0x20+var_E]                                   ; +0xd6, 0x46da46\nLDR.W           R0, [R4,#0x690]; this                                  ; +0xda, 0x46da4a\nSTRB.W          R3, [SP,#0x20+var_F]                                   ; +0xde, 0x46da4e\nBL              _ZN15GJEffectManager21activeOpacityForIndexEi; GJEffectManager::activeOpacityForIndex(int) ; +0xe2, 0x46da52\nLDR.W           R3, [R4,#0xA04]                                        ; +0xe6, 0x46da56\nMOV             R1, R5                                                 ; +0xea, 0x46da5a\nVMOV            S16, R0                                                ; +0xec, 0x46da5c\nLDR.W           R0, [R3,#0x148]                                        ; +0xf0, 0x46da60\nLDR             R3, [R0]                                               ; +0xf4, 0x46da64\nLDR.W           R3, [R3,#0x1D8]                                        ; +0xf6, 0x46da66\nBLX             R3                                                     ; +0xfa, 0x46da6a\nLDR.W           R3, [R4,#0xA08]                                        ; +0xfc, 0x46da6c\nMOV             R1, R5                                                 ; +0x100, 0x46da70\nLDR.W           R0, [R3,#0x148]                                        ; +0x102, 0x46da72\nLDR             R3, [R0]                                               ; +0x106, 0x46da76\nLDR.W           R3, [R3,#0x1D8]                                        ; +0x108, 0x46da78\nBLX             R3                                                     ; +0x10c, 0x46da7c\nVMUL.F32        S16, S16, S17                                          ; +0x10e, 0x46da7e\nLDR.W           R3, [R4,#0xA04]                                        ; +0x112, 0x46da82\nLDR.W           R0, [R3,#0x148]                                        ; +0x116, 0x46da86\nLDR             R3, [R0]                                               ; +0x11a, 0x46da8a\nLDR.W           R3, [R3,#0x1C0]                                        ; +0x11c, 0x46da8c\nVCVT.U32.F32    S16, S16                                               ; +0x120, 0x46da90\nVSTR            S16, [SP,#0x20+var_1C]                                 ; +0x124, 0x46da94\nLDRB.W          R5, [SP,#0x20+var_1C]                                  ; +0x128, 0x46da98\nMOV             R1, R5                                                 ; +0x12c, 0x46da9c\nBLX             R3                                                     ; +0x12e, 0x46da9e\nLDR.W           R3, [R4,#0xA08]                                        ; +0x130, 0x46daa0\nMOV             R1, R5                                                 ; +0x134, 0x46daa4\nLDR.W           R0, [R3,#0x148]                                        ; +0x136, 0x46daa6\nLDR             R3, [R0]                                               ; +0x13a, 0x46daaa\nLDR.W           R3, [R3,#0x1C0]                                        ; +0x13c, 0x46daac\nBLX             R3                                                     ; +0x140, 0x46dab0\nMOVW            R1, #0x3EA; int                                        ; +0x142, 0x46dab2\nLDR.W           R0, [R4,#0x690]; this                                  ; +0x146, 0x46dab6\nLDR.W           R5, [R4,#0xA04]                                        ; +0x14a, 0x46daba\nBL              _ZN15GJEffectManager11shouldBlendEi; GJEffectManager::shouldBlend(int) ; +0x14e, 0x46dabe\nMOV             R1, R0; bool                                           ; +0x152, 0x46dac2\nMOV             R0, R5; this                                           ; +0x154, 0x46dac4\nBL              _ZN13GJGroundLayer15updateLineBlendEb; GJGroundLayer::updateLineBlend(bool) ; +0x156, 0x46dac6\nMOVW            R1, #0x3EA; int                                        ; +0x15a, 0x46daca\nLDR.W           R0, [R4,#0x690]; this                                  ; +0x15e, 0x46dace\nLDR.W           R5, [R4,#0xA08]                                        ; +0x162, 0x46dad2\nBL              _ZN15GJEffectManager11shouldBlendEi; GJEffectManager::shouldBlend(int) ; +0x166, 0x46dad6\nMOV             R1, R0; bool                                           ; +0x16a, 0x46dada\nMOV             R0, R5; this                                           ; +0x16c, 0x46dadc\nBL              _ZN13GJGroundLayer15updateLineBlendEb; GJGroundLayer::updateLineBlend(bool) ; +0x16e, 0x46dade\nLDR.W           R5, [R4,#0xA0C]                                        ; +0x172, 0x46dae2\nCMP             R5, #0                                                 ; +0x176, 0x46dae6\nBEQ             loc_46DBCA                                             ; +0x178, 0x46dae8\nMOVW            R1, #0x3F5; int                                        ; +0x17a, 0x46daea\nLDR.W           R0, [R4,#0x690]; this                                  ; +0x17e, 0x46daee\nBL              _ZN15GJEffectManager19activeColorForIndexEi; GJEffectManager::activeColorForIndex(int) ; +0x182, 0x46daf2\nMOVS            R2, #1                                                 ; +0x186, 0x46daf6\nUBFX.W          R3, R0, #8, #8                                         ; +0x188, 0x46daf8\nSTRB.W          R0, [SP,#0x20+var_C]                                   ; +0x18c, 0x46dafc\nSTRB.W          R3, [SP,#0x20+var_C+1]                                 ; +0x190, 0x46db00\nUBFX.W          R0, R0, #0x10, #8                                      ; +0x194, 0x46db04\nSTRB.W          R0, [SP,#0x20+var_C+2]                                 ; +0x198, 0x46db08\nMOV             R0, R5                                                 ; +0x19c, 0x46db0c\nLDR             R1, [SP,#0x20+var_C]                                   ; +0x19e, 0x46db0e\nBL              _ZN9GJMGLayer17updateGroundColorEN7cocos2d10_ccColor3BEb; GJMGLayer::updateGroundColor(cocos2d::_ccColor3B,bool) ; +0x1a0, 0x46db10\nMOVW            R1, #0x3F6; int                                        ; +0x1a4, 0x46db14\nLDR.W           R0, [R4,#0x690]; this                                  ; +0x1a8, 0x46db18\nLDR.W           R5, [R4,#0xA0C]                                        ; +0x1ac, 0x46db1c\nBL              _ZN15GJEffectManager19activeColorForIndexEi; GJEffectManager::activeColorForIndex(int) ; +0x1b0, 0x46db20\nMOVS            R2, #0                                                 ; +0x1b4, 0x46db24\nUBFX.W          R3, R0, #8, #8                                         ; +0x1b6, 0x46db26\nSTRB.W          R0, [SP,#0x20+var_8]                                   ; +0x1ba, 0x46db2a\nSTRB.W          R3, [SP,#0x20+var_8+1]                                 ; +0x1be, 0x46db2e\nUBFX.W          R0, R0, #0x10, #8                                      ; +0x1c2, 0x46db32\nSTRB.W          R0, [SP,#0x20+var_8+2]                                 ; +0x1c6, 0x46db36\nMOV             R0, R5                                                 ; +0x1ca, 0x46db3a\nLDR             R1, [SP,#0x20+var_8]                                   ; +0x1cc, 0x46db3c\nBL              _ZN9GJMGLayer17updateGroundColorEN7cocos2d10_ccColor3BEb; GJMGLayer::updateGroundColor(cocos2d::_ccColor3B,bool) ; +0x1ce, 0x46db3e\nMOVW            R1, #0x3F5; int                                        ; +0x1d2, 0x46db42\nLDR.W           R0, [R4,#0x690]; this                                  ; +0x1d6, 0x46db46\nLDR.W           R5, [R4,#0xA0C]                                        ; +0x1da, 0x46db4a\nBL              _ZN15GJEffectManager21activeOpacityForIndexEi; GJEffectManager::activeOpacityForIndex(int) ; +0x1de, 0x46db4e\nMOVS            R2, #1; bool                                           ; +0x1e2, 0x46db52\nVMOV            S15, R0                                                ; +0x1e4, 0x46db54\nMOV             R0, R5; this                                           ; +0x1e8, 0x46db58\nVMUL.F32        S15, S15, S17                                          ; +0x1ea, 0x46db5a\nVCVT.U32.F32    S15, S15                                               ; +0x1ee, 0x46db5e\nVSTR            S15, [SP,#0x20+var_1C]                                 ; +0x1f2, 0x46db62\nLDRB.W          R1, [SP,#0x20+var_1C]; unsigned __int8                 ; +0x1f6, 0x46db66\nBL              _ZN9GJMGLayer19updateGroundOpacityEhb; GJMGLayer::updateGroundOpacity(uchar,bool) ; +0x1fa, 0x46db6a\nMOVW            R1, #0x3F6; int                                        ; +0x1fe, 0x46db6e\nLDR.W           R0, [R4,#0x690]; this                                  ; +0x202, 0x46db72\nLDR.W           R5, [R4,#0xA0C]                                        ; +0x206, 0x46db76\nBL              _ZN15GJEffectManager21activeOpacityForIndexEi; GJEffectManager::activeOpacityForIndex(int) ; +0x20a, 0x46db7a\nMOVS            R2, #0; bool                                           ; +0x20e, 0x46db7e\nVMOV            S15, R0                                                ; +0x210, 0x46db80\nMOV             R0, R5; this                                           ; +0x214, 0x46db84\nVMUL.F32        S17, S15, S17                                          ; +0x216, 0x46db86\nVCVT.U32.F32    S17, S17                                               ; +0x21a, 0x46db8a\nVSTR            S17, [SP,#0x20+var_1C]                                 ; +0x21e, 0x46db8e\nLDRB.W          R1, [SP,#0x20+var_1C]; unsigned __int8                 ; +0x222, 0x46db92\nBL              _ZN9GJMGLayer19updateGroundOpacityEhb; GJMGLayer::updateGroundOpacity(uchar,bool) ; +0x226, 0x46db96\nMOVW            R1, #0x3F5; int                                        ; +0x22a, 0x46db9a\nLDR.W           R0, [R4,#0x690]; this                                  ; +0x22e, 0x46db9e\nLDR.W           R5, [R4,#0xA0C]                                        ; +0x232, 0x46dba2\nBL              _ZN15GJEffectManager11shouldBlendEi; GJEffectManager::shouldBlend(int) ; +0x236, 0x46dba6\nMOV             R1, R0; bool                                           ; +0x23a, 0x46dbaa\nMOV             R0, R5; this                                           ; +0x23c, 0x46dbac\nBL              _ZN9GJMGLayer15updateMG01BlendEb; GJMGLayer::updateMG01Blend(bool) ; +0x23e, 0x46dbae\nMOVW            R1, #0x3F6; int                                        ; +0x242, 0x46dbb2\nLDR.W           R0, [R4,#0x690]; this                                  ; +0x246, 0x46dbb6\nLDR.W           R5, [R4,#0xA0C]                                        ; +0x24a, 0x46dbba\nBL              _ZN15GJEffectManager11shouldBlendEi; GJEffectManager::shouldBlend(int) ; +0x24e, 0x46dbbe\nMOV             R1, R0; bool                                           ; +0x252, 0x46dbc2\nMOV             R0, R5; this                                           ; +0x254, 0x46dbc4\nBL              _ZN9GJMGLayer15updateMG02BlendEb; GJMGLayer::updateMG02Blend(bool) ; +0x256, 0x46dbc6\nLDR             R2, [SP,#0x20+var_4]                                   ; +0x25a, 0x46dbca\nLDR             R3, [R6]                                               ; +0x25c, 0x46dbcc\nCMP             R2, R3                                                 ; +0x25e, 0x46dbce\nBEQ             loc_46DBD6                                             ; +0x260, 0x46dbd0\nBLX             __stack_chk_fail                                       ; +0x262, 0x46dbd2\nADD             SP, SP, #0x20 ; ' '                                    ; +0x266, 0x46dbd6\nVPOP            {D8}                                                   ; +0x268, 0x46dbd8\nPOP             {R4-R6,PC}                                             ; +0x26c, 0x46dbdc", "xrefs": ["PlayLayer::postUpdate @ 0x31baf6", "PlayLayer::setupHasCompleted @ 0x31c1c4", "PlayLayer::setupHasCompleted @ 0x31c3ce", "PlayLayer::resetLevel @ 0x31fd06", "LevelEditorLayer::onPlaytest @ 0x36ecf4", "LevelEditorLayer::postUpdate @ 0x375168", "LevelEditorLayer::updateGameObjects @ 0x376000", "GJBaseGameLayer::asyncBGLoaded @ 0x46dbf6", "GJBaseGameLayer::asyncGLoaded @ 0x46dc42", "GJBaseGameLayer::asyncMGLoaded @ 0x46dc54"], "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"}