{"type": "func", "start": 4687148, "end": 4687814, "name": "GJBaseGameLayer::volumeForProximityEffect", "pseudocode": "// \n// GJBaseGameLayer::volumeForProximityEffect from 0x47852c to 0x4787c6 (666 bytes)\n// \n// 3 xrefs:\n// > GJBaseGameLayer::updateProximityVolumeEffects @ 0x478808\n// > GJBaseGameLayer::addProximityVolumeEffect @ 0x484a48\n// > GJBaseGameLayer::activateSFXTrigger @ 0x484b70\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\nfloat GJBaseGameLayer::volumeForProximityEffect(GJBaseGameLayer *a1, SFXTriggerInstance *a2)\n{\n  cocos2d::CCDirector *v4; // r0\n  float m_cameraZoom; // s13\n  SFXTriggerGameObject *m_sfxTriggerGameObject; // r4\n  cocos2d::CCArray *Group; // r8\n  int v8; // r2\n  bool m_cameraDistance; // r3\n  cocos2d::CCPoint *v10; // r1\n  _BOOL4 m_isDualMode; // r7\n  float v12; // r0\n  int v13; // r2\n  bool v14; // r3\n  PlayerObject *m_player2; // r0\n  GameObject *MainObject; // r0\n  int v17; // r6\n  float v20; // r10\n  float m_volumeNear; // s18\n  int m_minDistFar; // r6\n  float m_volumeFar; // s19\n  float v24; // s16\n  cocos2d::CCPoint v25; // r1\n  float MinDistance; // r0\n  float v27; // s17\n  const cocos2d::CCPoint *v28; // r0\n  cocos2d::CCPoint v29; // r1\n  const cocos2d::CCPoint *v30; // r0\n  cocos2d::CCPoint v31; // r1\n  float v32; // s14\n  float v33; // s15\n  float *p_m_volumeMedium; // r3\n  float v35; // s17\n  int v36; // [sp+4h] [bp-30h]\n  int v37; // [sp+4h] [bp-30h]\n  int v38; // [sp+4h] [bp-30h]\n  int m_minDistMedium; // [sp+8h] [bp-2Ch]\n  cocos2d::CCSize v40; // [sp+14h] [bp-20h] BYREF\n  _BYTE v41[8]; // [sp+1Ch] [bp-18h] BYREF\n  cocos2d::CCPoint v42; // [sp+24h] [bp-10h] BYREF\n  cocos2d::CCPoint v43; // [sp+2Ch] [bp-8h] BYREF\n  cocos2d::CCPoint v44; // [sp+34h] [bp+0h] BYREF\n\n  v4 = cocos2d::CCDirector::sharedDirector();\n  cocos2d::CCDirector::getWinSize(&v40, v4);\n  m_cameraZoom = a1->m_gameState.m_cameraZoom;\n  v40.width = v40.width / m_cameraZoom;\n  v40.height = v40.height / m_cameraZoom;\n  cocos2d::CCPoint::CCPoint(&v44, v40.width * 0.5, v40.height * 0.5);\n  cocos2d::CCPoint::operator+(v41, &a1->m_gameState.m_cameraPosition, &v44);\n  m_sfxTriggerGameObject = a2->m_sfxTriggerGameObject;\n  Group = GJBaseGameLayer::getGroup(a1, a2->m_groupID1);\n  cocos2d::CCPoint::CCPoint(&v42);\n  m_cameraDistance = m_sfxTriggerGameObject->m_cameraDistance;\n  if ( m_cameraDistance )\n  {\n    v10 = (cocos2d::CCPoint *)v41;\n  }\n  else\n  {\n    if ( m_sfxTriggerGameObject->m_targetPlayer1 )\n    {\n      v12 = ((float (__fastcall *)(PlayerObject *))a1->m_player1->getPosition)(a1->m_player1);\n      cocos2d::CCPoint::operator=((PlayerObject *)&v42, v12, v13, v14);\n      if ( m_sfxTriggerGameObject->m_targetPlayer2 )\n        m_isDualMode = a1->m_gameState.m_isDualMode;\n      else\n        m_isDualMode = m_sfxTriggerGameObject->m_targetPlayer2;\n      goto LABEL_15;\n    }\n    if ( m_sfxTriggerGameObject->m_targetPlayer2 )\n    {\n      if ( a1->m_gameState.m_isDualMode )\n        m_player2 = a1->m_player2;\n      else\n        m_player2 = a1->m_player1;\n      v10 = (cocos2d::CCPoint *)m_player2->getPosition(m_player2);\n    }\n    else\n    {\n      MainObject = GJBaseGameLayer::tryGetMainObject(a1, a2->m_groupID2);\n      if ( !MainObject )\n      {\n        m_isDualMode = 0;\n        v17 = 0;\n        goto LABEL_17;\n      }\n      MainObject->getRealPosition(&v44, MainObject);\n      v10 = &v44;\n    }\n  }\n  cocos2d::CCPoint::operator=((PlayerObject *)&v42, *(float *)&v10, v8, m_cameraDistance);\n  m_isDualMode = 0;\nLABEL_15:\n  v17 = 1;\nLABEL_17:\n  if ( Group && cocos2d::CCArray::count(Group) && v17 )\n  {\n    v20 = *(float *)&m_sfxTriggerGameObject->m_proximityMode;\n    m_volumeNear = m_sfxTriggerGameObject->m_volumeNear;\n    m_minDistFar = m_sfxTriggerGameObject->m_minDistFar;\n    m_volumeFar = m_sfxTriggerGameObject->m_volumeFar;\n    v24 = (float)(3 * m_sfxTriggerGameObject->m_minDistNear);\n    m_minDistMedium = m_sfxTriggerGameObject->m_minDistMedium;\n    cocos2d::CCPoint::CCPoint(&v44, &v42);\n    LODWORD(v25.x) = &v44;\n    LODWORD(v25.y) = Group;\n    MinDistance = GJBaseGameLayer::getMinDistance(a1, v25, (cocos2d::CCArray *)LODWORD(v24), v20, v36);\n    v27 = MinDistance;\n    if ( m_isDualMode && MinDistance > v24 )\n    {\n      v28 = a1->m_player2->getPosition(a1->m_player2);\n      cocos2d::CCPoint::CCPoint(&v43, v28);\n      LODWORD(v29.x) = &v43;\n      LODWORD(v29.y) = Group;\n      if ( v27 > GJBaseGameLayer::getMinDistance(a1, v29, (cocos2d::CCArray *)LODWORD(v24), v20, v37) )\n      {\n        v30 = a1->m_player2->getPosition(a1->m_player2);\n        cocos2d::CCPoint::CCPoint(&v44, v30);\n        LODWORD(v31.x) = &v44;\n        LODWORD(v31.y) = Group;\n        v27 = GJBaseGameLayer::getMinDistance(a1, v31, (cocos2d::CCArray *)LODWORD(v24), v20, v38);\n      }\n    }\n    if ( v27 > v24 )\n    {\n      v32 = (float)(3 * m_minDistMedium) + v24;\n      v33 = (float)(3 * m_minDistFar) + v32;\n      if ( v27 >= v33 )\n      {\n        v35 = 1.0;\n        return m_volumeNear + (float)((float)(m_volumeFar - m_volumeNear) * v35);\n      }\n      if ( v32 > 0.0 )\n      {\n        p_m_volumeMedium = &m_sfxTriggerGameObject->m_volumeMedium;\n        if ( v27 >= v32 )\n        {\n          m_volumeNear = *p_m_volumeMedium;\n          m_volumeFar = m_sfxTriggerGameObject->m_volumeFar;\n          v24 = (float)(3 * m_minDistMedium) + v24;\n        }\n        else\n        {\n          m_sfxTriggerGameObject = (SFXTriggerGameObject *)((char *)m_sfxTriggerGameObject + 1688);\n        }\n        if ( v27 < v32 )\n        {\n          m_volumeNear = *(float *)&m_sfxTriggerGameObject->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n          m_volumeFar = *p_m_volumeMedium;\n          v33 = v32;\n        }\n      }\n      if ( v24 != v33 )\n      {\n        v35 = (float)(v27 - v24) / (float)(v33 - v24);\n        return m_volumeNear + (float)((float)(m_volumeFar - m_volumeNear) * v35);\n      }\n    }\n    v35 = 0.0;\n    return m_volumeNear + (float)((float)(m_volumeFar - m_volumeNear) * v35);\n  }\n  return 1.0;\n}", "assembly": "; \n; GJBaseGameLayer::volumeForProximityEffect from 0x47852c to 0x4787c6 (666 bytes)\n; \n; 3 xrefs:\n; > GJBaseGameLayer::updateProximityVolumeEffects @ 0x478808\n; > GJBaseGameLayer::addProximityVolumeEffect @ 0x484a48\n; > GJBaseGameLayer::activateSFXTrigger @ 0x484b70\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, 0x47852c\nMOV             R5, R0                                                 ; +0x4, 0x478530\nLDR.W           R9, =(__stack_chk_guard_ptr - 0x478540)                ; +0x6, 0x478532\nMOV             R10, R1                                                ; +0xa, 0x478536\nVPUSH           {D8-D9}                                                ; +0xc, 0x478538\nADD             R9, PC; __stack_chk_guard_ptr                          ; +0x10, 0x47853c\nLDR.W           R9, [R9]; __stack_chk_guard                            ; +0x12, 0x47853e\nLDR.W           R3, [R9]                                               ; +0x16, 0x478542\nSUB             SP, SP, #0x44                                          ; +0x1a, 0x478546\nADD             R7, SP, #0x34                                          ; +0x1c, 0x478548\nADD.W           R11, SP, #0x44+var_28                                  ; +0x1e, 0x47854a\nSTR             R3, [SP,#0x44+var_8]                                   ; +0x22, 0x47854e\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x24, 0x478550\nADD             R6, SP, #0x44+var_20                                   ; +0x28, 0x478554\nMOV             R1, R0                                                 ; +0x2a, 0x478556\nADD             R0, SP, #0x44+var_30; this                             ; +0x2c, 0x478558\nBL              _ZN7cocos2d10CCDirector10getWinSizeEv; cocos2d::CCDirector::getWinSize(void) ; +0x2e, 0x47855a\nVLDR            S13, [R5,#0x148]                                       ; +0x32, 0x47855e\nMOV             R0, R7; this                                           ; +0x36, 0x478562\nVLDR            S14, [SP,#0x44+var_30]                                 ; +0x38, 0x478564\nVLDR            S15, [SP,#0x44+var_2C]                                 ; +0x3c, 0x478568\nVDIV.F32        S14, S14, S13                                          ; +0x40, 0x47856c\nVDIV.F32        S15, S15, S13                                          ; +0x44, 0x478570\nVSTR            S14, [SP,#0x44+var_30]                                 ; +0x48, 0x478574\nVMOV.F32        S13, #0.5                                              ; +0x4c, 0x478578\nVSTR            S15, [SP,#0x44+var_2C]                                 ; +0x50, 0x47857c\nVMUL.F32        S14, S14, S13                                          ; +0x54, 0x478580\nVMUL.F32        S15, S15, S13                                          ; +0x58, 0x478584\nVMOV            R1, S14; float                                         ; +0x5c, 0x478588\nVMOV            R2, S15; float                                         ; +0x60, 0x47858c\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x64, 0x478590\nMOV             R2, R7                                                 ; +0x68, 0x478594\nMOV             R0, R11                                                ; +0x6a, 0x478596\nADD.W           R1, R5, #0x360                                         ; +0x6c, 0x478598\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x70, 0x47859c\nLDR.W           R1, [R10]; int                                         ; +0x74, 0x4785a0\nMOV             R0, R5; this                                           ; +0x78, 0x4785a4\nLDR.W           R4, [R10,#0xC]                                         ; +0x7a, 0x4785a6\nBL              _ZN15GJBaseGameLayer8getGroupEi; GJBaseGameLayer::getGroup(int) ; +0x7e, 0x4785aa\nMOV             R8, R0                                                 ; +0x82, 0x4785ae\nMOV             R0, R6; this                                           ; +0x84, 0x4785b0\nBL              _ZN7cocos2d7CCPointC1Ev; cocos2d::CCPoint::CCPoint(void) ; +0x86, 0x4785b2\nLDRB.W          R3, [R4,#0x6B4]                                        ; +0x8a, 0x4785b6\nSTR.W           R9, [SP,#0x44+var_38]                                  ; +0x8e, 0x4785ba\nCBZ             R3, loc_4785CC                                         ; +0x92, 0x4785be\nMOV             R0, R6                                                 ; +0x94, 0x4785c0\nMOV             R1, R11                                                ; +0x96, 0x4785c2\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x98, 0x4785c4\nMOVS            R7, #0                                                 ; +0x9c, 0x4785c8\nB               loc_478636                                             ; +0x9e, 0x4785ca\nLDRB.W          R3, [R4,#0x5D8]                                        ; +0xa0, 0x4785cc\nCBZ             R3, loc_4785F0                                         ; +0xa4, 0x4785d0\nLDR.W           R0, [R5,#0x8B8]                                        ; +0xa6, 0x4785d2\nLDR             R3, [R0]                                               ; +0xaa, 0x4785d6\nLDR             R3, [R3,#0x60]                                         ; +0xac, 0x4785d8\nBLX             R3                                                     ; +0xae, 0x4785da\nMOV             R1, R0                                                 ; +0xb0, 0x4785dc\nMOV             R0, R6                                                 ; +0xb2, 0x4785de\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0xb4, 0x4785e0\nLDRB.W          R3, [R4,#0x5D9]                                        ; +0xb8, 0x4785e4\nCBZ             R3, loc_478634                                         ; +0xbc, 0x4785e8\nLDRB.W          R7, [R5,#0x372]                                        ; +0xbe, 0x4785ea\nB               loc_478636                                             ; +0xc2, 0x4785ee\nLDRB.W          R9, [R4,#0x5D9]                                        ; +0xc4, 0x4785f0\nCMP.W           R9, #0                                                 ; +0xc8, 0x4785f4\nBEQ             loc_478616                                             ; +0xcc, 0x4785f8\nLDRB.W          R3, [R5,#0x372]                                        ; +0xce, 0x4785fa\nCBZ             R3, loc_478606                                         ; +0xd2, 0x4785fe\nLDR.W           R0, [R5,#0x8BC]                                        ; +0xd4, 0x478600\nB               loc_47860A                                             ; +0xd8, 0x478604\nLDR.W           R0, [R5,#0x8B8]                                        ; +0xda, 0x478606\nLDR             R3, [R0]                                               ; +0xde, 0x47860a\nLDR             R3, [R3,#0x60]                                         ; +0xe0, 0x47860c\nBLX             R3                                                     ; +0xe2, 0x47860e\nMOV             R1, R0                                                 ; +0xe4, 0x478610\nMOV             R0, R6                                                 ; +0xe6, 0x478612\nB               loc_4785C4                                             ; +0xe8, 0x478614\nLDR.W           R1, [R10,#4]; int                                      ; +0xea, 0x478616\nMOV             R0, R5; this                                           ; +0xee, 0x47861a\nBL              _ZN15GJBaseGameLayer16tryGetMainObjectEi; GJBaseGameLayer::tryGetMainObject(int) ; +0xf0, 0x47861c\nMOV             R1, R0                                                 ; +0xf4, 0x478620\nCBZ             R0, loc_47863A                                         ; +0xf6, 0x478622\nLDR             R3, [R0]                                               ; +0xf8, 0x478624\nMOV             R0, R7                                                 ; +0xfa, 0x478626\nLDR.W           R3, [R3,#0x2A0]                                        ; +0xfc, 0x478628\nBLX             R3                                                     ; +0x100, 0x47862c\nMOV             R0, R6                                                 ; +0x102, 0x47862e\nMOV             R1, R7                                                 ; +0x104, 0x478630\nB               loc_4785C4                                             ; +0x106, 0x478632\nMOV             R7, R3                                                 ; +0x108, 0x478634\nMOVS            R6, #1                                                 ; +0x10a, 0x478636\nB               loc_47863E                                             ; +0x10c, 0x478638\nMOV             R7, R0                                                 ; +0x10e, 0x47863a\nMOV             R6, R0                                                 ; +0x110, 0x47863c\nCMP.W           R8, #0                                                 ; +0x112, 0x47863e\nBEQ             loc_47864E                                             ; +0x116, 0x478642\nMOV             R0, R8; this                                           ; +0x118, 0x478644\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x11a, 0x478646\nCBZ             R0, loc_47864E                                         ; +0x11e, 0x47864a\nCBNZ            R6, loc_478666                                         ; +0x120, 0x47864c\nVMOV.F32        S18, #1.0                                              ; +0x122, 0x47864e\nLDR             R3, [SP,#0x44+var_38]                                  ; +0x126, 0x478652\nLDR             R2, [SP,#0x44+var_8]                                   ; +0x128, 0x478654\nVMOV            R0, S18                                                ; +0x12a, 0x478656\nLDR             R3, [R3]                                               ; +0x12e, 0x47865a\nCMP             R2, R3                                                 ; +0x130, 0x47865c\nBEQ.W           loc_4787BC                                             ; +0x132, 0x47865e\nBLX             __stack_chk_fail                                       ; +0x136, 0x478662\nADD.W           R3, R4, #0x698                                         ; +0x13a, 0x478666\nLDR.W           R10, [R4,#0x6B0]                                       ; +0x13e, 0x47866a\nADD.W           R9, SP, #0x44+var_10                                   ; +0x142, 0x47866e\nADD.W           R11, R4, #0x6A0                                        ; +0x146, 0x478672\nVLDR            S18, [R3]                                              ; +0x14a, 0x478676\nADD             R1, SP, #0x44+var_20; cocos2d::CCPoint *               ; +0x14e, 0x47867a\nLDR.W           R3, [R4,#0x6A4]                                        ; +0x150, 0x47867c\nMOV             R0, R9; this                                           ; +0x154, 0x478680\nLDR.W           R6, [R4,#0x6AC]                                        ; +0x156, 0x478682\nVLDR            S19, [R11]                                             ; +0x15a, 0x478686\nADD.W           R3, R3, R3,LSL#1                                       ; +0x15e, 0x47868a\nVMOV            S15, R3                                                ; +0x162, 0x47868e\nLDR.W           R3, [R4,#0x6A8]                                        ; +0x166, 0x478692\nVCVT.F32.S32    S16, S15                                               ; +0x16a, 0x478696\nSTR             R3, [SP,#0x44+var_3C]                                  ; +0x16e, 0x47869a\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x170, 0x47869c\nSTR.W           R10, [SP,#0x44+var_44]                                 ; +0x174, 0x4786a0\nMOV             R0, R5                                                 ; +0x178, 0x4786a4\nMOV             R1, R9                                                 ; +0x17a, 0x4786a6\nMOV             R2, R8                                                 ; +0x17c, 0x4786a8\nVMOV            R3, S16                                                ; +0x17e, 0x4786aa\nBL              _ZN15GJBaseGameLayer14getMinDistanceEN7cocos2d7CCPointEPNS0_7CCArrayEfi; GJBaseGameLayer::getMinDistance(cocos2d::CCPoint,cocos2d::CCArray *,float,int) ; +0x182, 0x4786ae\nVMOV            S17, R0                                                ; +0x186, 0x4786b2\nCBZ             R7, loc_478724                                         ; +0x18a, 0x4786b6\nVCMPE.F32       S17, S16                                               ; +0x18c, 0x4786b8\nVMRS            APSR_nzcv, FPSCR                                       ; +0x190, 0x4786bc\nBLE             loc_478724                                             ; +0x194, 0x4786c0\nLDR.W           R0, [R5,#0x8BC]                                        ; +0x196, 0x4786c2\nADD             R7, SP, #0x2C ; ','                                    ; +0x19a, 0x4786c6\nLDR             R3, [R0]                                               ; +0x19c, 0x4786c8\nLDR             R3, [R3,#0x60]                                         ; +0x19e, 0x4786ca\nBLX             R3                                                     ; +0x1a0, 0x4786cc\nMOV             R1, R0; cocos2d::CCPoint *                             ; +0x1a2, 0x4786ce\nMOV             R0, R7; this                                           ; +0x1a4, 0x4786d0\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x1a6, 0x4786d2\nSTR.W           R10, [SP,#0x44+var_44]                                 ; +0x1aa, 0x4786d6\nMOV             R0, R5                                                 ; +0x1ae, 0x4786da\nMOV             R1, R7                                                 ; +0x1b0, 0x4786dc\nMOV             R2, R8                                                 ; +0x1b2, 0x4786de\nVMOV            R3, S16                                                ; +0x1b4, 0x4786e0\nBL              _ZN15GJBaseGameLayer14getMinDistanceEN7cocos2d7CCPointEPNS0_7CCArrayEfi; GJBaseGameLayer::getMinDistance(cocos2d::CCPoint,cocos2d::CCArray *,float,int) ; +0x1b8, 0x4786e4\nVMOV            S15, R0                                                ; +0x1bc, 0x4786e8\nVCMPE.F32       S17, S15                                               ; +0x1c0, 0x4786ec\nVMRS            APSR_nzcv, FPSCR                                       ; +0x1c4, 0x4786f0\nBLE             loc_478724                                             ; +0x1c8, 0x4786f4\nLDR.W           R0, [R5,#0x8BC]                                        ; +0x1ca, 0x4786f6\nLDR             R3, [R0]                                               ; +0x1ce, 0x4786fa\nLDR             R3, [R3,#0x60]                                         ; +0x1d0, 0x4786fc\nBLX             R3                                                     ; +0x1d2, 0x4786fe\nMOV             R1, R0; cocos2d::CCPoint *                             ; +0x1d4, 0x478700\nMOV             R0, R9; this                                           ; +0x1d6, 0x478702\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x1d8, 0x478704\nSTR.W           R10, [SP,#0x44+var_44]                                 ; +0x1dc, 0x478708\nMOV             R0, R5                                                 ; +0x1e0, 0x47870c\nMOV             R1, R9                                                 ; +0x1e2, 0x47870e\nMOV             R2, R8                                                 ; +0x1e4, 0x478710\nVMOV            R3, S16                                                ; +0x1e6, 0x478712\nBL              _ZN15GJBaseGameLayer14getMinDistanceEN7cocos2d7CCPointEPNS0_7CCArrayEfi; GJBaseGameLayer::getMinDistance(cocos2d::CCPoint,cocos2d::CCArray *,float,int) ; +0x1ea, 0x478716\nVMOV            S17, R0                                                ; +0x1ee, 0x47871a\nB               loc_478724                                             ; +0x1f2, 0x47871e\nBL              __cxa_end_cleanup                                      ; +0x1f4, 0x478720\nVCMPE.F32       S17, S16                                               ; +0x1f8, 0x478724\nVMRS            APSR_nzcv, FPSCR                                       ; +0x1fc, 0x478728\nBLS             loc_4787AE                                             ; +0x200, 0x47872c\nLDR             R3, [SP,#0x44+var_3C]                                  ; +0x202, 0x47872e\nADD.W           R6, R6, R6,LSL#1                                       ; +0x204, 0x478730\nADD.W           R7, R3, R3,LSL#1                                       ; +0x208, 0x478734\nVMOV            S15, R7                                                ; +0x20c, 0x478738\nVCVT.F32.S32    S14, S15                                               ; +0x210, 0x47873c\nVMOV            S15, R6                                                ; +0x214, 0x478740\nVADD.F32        S14, S14, S16                                          ; +0x218, 0x478744\nVCVT.F32.S32    S15, S15                                               ; +0x21c, 0x478748\nVADD.F32        S15, S15, S14                                          ; +0x220, 0x47874c\nVCMPE.F32       S17, S15                                               ; +0x224, 0x478750\nVMRS            APSR_nzcv, FPSCR                                       ; +0x228, 0x478754\nBGE             loc_4787A8                                             ; +0x22c, 0x478758\nVCMPE.F32       S14, #0.0                                              ; +0x22e, 0x47875a\nVMRS            APSR_nzcv, FPSCR                                       ; +0x232, 0x47875e\nBLE             loc_478790                                             ; +0x236, 0x478762\nVCMPE.F32       S17, S14                                               ; +0x238, 0x478764\nADDW            R3, R4, #0x69C                                         ; +0x23c, 0x478768\nVMRS            APSR_nzcv, FPSCR                                       ; +0x240, 0x47876c\nITEEE LT                                                               ; +0x244, 0x478770\nADDLT.W         R4, R4, #0x698                                         ; +0x246, 0x478772\nVLDRGE          S18, [R3]                                              ; +0x24a, 0x478776\nVLDRGE          S19, [R11]                                             ; +0x24e, 0x47877a\nVMOVGE.F32      S16, S14                                               ; +0x252, 0x47877e\nITTT LT                                                                ; +0x256, 0x478782\nVLDRLT          S18, [R4]                                              ; +0x258, 0x478784\nVLDRLT          S19, [R3]                                              ; +0x25c, 0x478788\nVMOVLT.F32      S15, S14                                               ; +0x260, 0x47878c\nVCMP.F32        S16, S15                                               ; +0x264, 0x478790\nVMRS            APSR_nzcv, FPSCR                                       ; +0x268, 0x478794\nBEQ             loc_4787AE                                             ; +0x26c, 0x478798\nVSUB.F32        S17, S17, S16                                          ; +0x26e, 0x47879a\nVSUB.F32        S15, S15, S16                                          ; +0x272, 0x47879e\nVDIV.F32        S17, S17, S15                                          ; +0x276, 0x4787a2\nB               loc_4787B2                                             ; +0x27a, 0x4787a6\nVMOV.F32        S17, #1.0                                              ; +0x27c, 0x4787a8\nB               loc_4787B2                                             ; +0x280, 0x4787ac\nVLDR            S17, =0.0                                              ; +0x282, 0x4787ae\nVSUB.F32        S19, S19, S18                                          ; +0x286, 0x4787b2\nVMLA.F32        S18, S19, S17                                          ; +0x28a, 0x4787b6\nB               loc_478652                                             ; +0x28e, 0x4787ba\nADD             SP, SP, #0x44 ; 'D'                                    ; +0x290, 0x4787bc\nVPOP            {D8-D9}                                                ; +0x292, 0x4787be\nPOP.W           {R4-R11,PC}                                            ; +0x296, 0x4787c2", "xrefs": ["GJBaseGameLayer::updateProximityVolumeEffects @ 0x478808", "GJBaseGameLayer::addProximityVolumeEffect @ 0x484a48", "GJBaseGameLayer::activateSFXTrigger @ 0x484b70"], "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"}