{"type": "func", "start": 4298413116, "end": 4298413232, "name": "GameObject::shouldShowPickupEffects", "pseudocode": "// \n// GameObject::shouldShowPickupEffects from 0x10034943c to 0x1003494b0 (116 bytes)\n// \n// 1 xrefs:\n// > GJBaseGameLayer::destroyObject @ 0x1001e94ac\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 __fastcall GameObject::shouldShowPickupEffects(GameObject *a1)\n{\n  cocos2d::CCSprite *m_colorSprite; // x0\n\n  if ( a1->m_hasNoEffects )\n  {\n    LOBYTE(m_colorSprite) = 0;\n  }\n  else if ( a1->m_isInvisible )\n  {\n    LOBYTE(m_colorSprite) = 0;\n  }\n  else if ( ((unsigned int (__fastcall *)(GameObject *))a1->getOpacity)(a1) )\n  {\n    LOBYTE(m_colorSprite) = 1;\n  }\n  else\n  {\n    m_colorSprite = a1->m_colorSprite;\n    if ( m_colorSprite )\n      LOBYTE(m_colorSprite) = ((unsigned int (__fastcall *)(cocos2d::CCSprite *))m_colorSprite->getOpacity)(m_colorSprite) != 0;\n  }\n  return (char)m_colorSprite;\n}", "assembly": "; \n; GameObject::shouldShowPickupEffects from 0x10034943c to 0x1003494b0 (116 bytes)\n; \n; 1 xrefs:\n; > GJBaseGameLayer::destroyObject @ 0x1001e94ac\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\nLDRB            W8, [X0,#0x414]                                        ; +0x0, 0x10034943c\nTBZ             W8, #0, loc_10034944C                                  ; +0x4, 0x100349440\nMOV             W0, #0                                                 ; +0x8, 0x100349444\nRET                                                                    ; +0xc, 0x100349448\nSTP             X20, X19, [SP,#var_20]!                                ; +0x10, 0x10034944c\nSTP             X29, X30, [SP,#0x20+var_10]                            ; +0x14, 0x100349450\nADD             X29, SP, #0x20+var_10                                  ; +0x18, 0x100349454\nMOV             X19, X0                                                ; +0x1c, 0x100349458\nLDRB            W8, [X0,#0x3E7]                                        ; +0x20, 0x10034945c\nTBZ             W8, #0, loc_10034946C                                  ; +0x24, 0x100349460\nMOV             W0, #0                                                 ; +0x28, 0x100349464\nB               loc_1003494A4                                          ; +0x2c, 0x100349468\nLDR             X8, [X19]                                              ; +0x30, 0x10034946c\nLDR             X8, [X8,#0x370]                                        ; +0x34, 0x100349470\nMOV             X0, X19                                                ; +0x38, 0x100349474\nBLR             X8                                                     ; +0x3c, 0x100349478\nCBZ             W0, loc_100349488                                      ; +0x40, 0x10034947c\nMOV             W0, #1                                                 ; +0x44, 0x100349480\nB               loc_1003494A4                                          ; +0x48, 0x100349484\nLDR             X0, [X19,#0x378]                                       ; +0x4c, 0x100349488\nCBZ             X0, loc_1003494A4                                      ; +0x50, 0x10034948c\nLDR             X8, [X0]                                               ; +0x54, 0x100349490\nLDR             X8, [X8,#0x370]                                        ; +0x58, 0x100349494\nBLR             X8                                                     ; +0x5c, 0x100349498\nCMP             W0, #0                                                 ; +0x60, 0x10034949c\nCSET            W0, NE                                                 ; +0x64, 0x1003494a0\nLDP             X29, X30, [SP,#0x20+var_10]                            ; +0x68, 0x1003494a4\nLDP             X20, X19, [SP+0x20+var_20],#0x20                       ; +0x6c, 0x1003494a8\nRET                                                                    ; +0x70, 0x1003494ac", "xrefs": ["GJBaseGameLayer::destroyObject @ 0x1001e94ac"], "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"}